|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Dictionary java.util.Hashtable context.arch.handler.AsyncServiceHandlers
This class maintains a list of asynchronous service handlers, allows additions and removals of individual handlers.
Constructor Summary | |
AsyncServiceHandlers()
Basic empty constructor |
Method Summary | |
void |
addHandler(AsyncServiceHandlerInfo info)
Adds an asynchronous service handler to the handler list |
AsyncServiceHandler |
getHandler(java.lang.String key)
Returns a handler that matches the given key |
java.util.Enumeration |
getHandlers()
Returns an enumeration containing all the handlers in the list |
int |
numHandlers()
Returns the number of handlers in the list |
void |
removeHandler(AsyncServiceHandlerInfo info)
Removes a handler from the handler list |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AsyncServiceHandlers()
Method Detail |
public void addHandler(AsyncServiceHandlerInfo info)
info
- Container for handler infoAsyncServiceHandlerInfo
public void removeHandler(AsyncServiceHandlerInfo info)
info
- AsyncServiceHandlerInfo object to removeAsyncServiceHandlerInfo
public AsyncServiceHandler getHandler(java.lang.String key)
key
- String that matches handler info
public java.util.Enumeration getHandlers()
public int numHandlers()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |