|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.voidsearch.voidbase.core.VoidBaseResourceRegister
public class VoidBaseResourceRegister
Register of Module -> uri mappings
| Method Summary | |
|---|---|
VoidBaseModule |
getHandler(java.lang.String uri)
|
VoidBaseModule |
getHandlerBlocking(java.lang.String uri)
blocks on call indefinitely until handler register |
VoidBaseModule |
getHandlerBlocking(java.lang.String uri,
long timeout)
blocks on call until handler register throws HandlerNotRegisteredException if timeout period expired |
static VoidBaseResourceRegister |
getInstance()
|
void |
register(java.lang.String uri,
VoidBaseModule module)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static VoidBaseResourceRegister getInstance()
public void register(java.lang.String uri,
VoidBaseModule module)
throws ResourceAlreadyRegisteredException
ResourceAlreadyRegisteredException
public VoidBaseModule getHandler(java.lang.String uri)
throws HandlerNotRegisteredException
HandlerNotRegisteredExceptionpublic VoidBaseModule getHandlerBlocking(java.lang.String uri)
uri -
public VoidBaseModule getHandlerBlocking(java.lang.String uri,
long timeout)
throws HandlerNotRegisteredException
uri -
HandlerNotRegisteredException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||