|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionHandlerRegistry
Method Summary | ||
---|---|---|
void |
addHandler(ActionHandler<?,?> handler)
Adds the specified ActionHandler to the registry. |
|
void |
clearHandlers()
Clears all registered handlers from the registry. |
|
|
findHandler(A action)
Searches the registry and returns the first handler which supports the specied action, or null if none is available. |
|
boolean |
removeHandler(ActionHandler<?,?> handler)
Removes the specified handler. |
Method Detail |
---|
void addHandler(ActionHandler<?,?> handler)
ActionHandler
to the registry.
handler
- The handler.boolean removeHandler(ActionHandler<?,?> handler)
handler
- The handler.
true
if the handler was previously registered and
was successfully removed.<A extends Action<R>,R extends Result> ActionHandler<A,R> findHandler(A action)
null
if none is available.
action
- The action.
void clearHandlers()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |