| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|
com.newstep.solid.processor
|
Class DefaultHandlerRegistry
|
public class DefaultHandlerRegistry
implements a simple mapping of handlers to destination ids
Implements:
HandlerRegistry
Links:
Implementation Implementation Link
implements a simple mapping of handlers to destination ids
| Field Summary |
private HashMap |
|
private ReentrantLock |
|
| Constructor Summary |
public void |
|
| Method Summary |
public void |
|
public ArrayList |
|
public void |
|
private HashMap handlerMap
Multiplicity:
1
private ReentrantLock mapLock
Multiplicity:
1
public void DefaultHandlerRegistry ()
initialize the handler map
Stereotype:
create
deregisters the specified handler from the registry
Parameters:
event
the event who's handler is being deregistered
public ArrayList getHandlers (Event event)
retrieves the events associated handler (if one exists)
Parameters:
event
the event who's handler is requested
Return:
the handler associated with the event, or null if none exists
registers the specified handler with the registry
Parameters:
handler
the event handler to register
event
against which the handler is being registered
| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|