net.customware.gwt.dispatch.server
Interface ActionHandlerRegistry

All Known Subinterfaces:
ClassActionHandlerRegistry, InstanceActionHandlerRegistry
All Known Implementing Classes:
DefaultActionHandlerRegistry, GuiceLazyActionHandlerRegistry, LazyActionHandlerRegistry

public interface ActionHandlerRegistry


Method Summary
 void clearHandlers()
          Clears all registered handlers from the registry.
<A extends Action<R>,R extends Result>
ActionHandler<A,R>
findHandler(A action)
          Searches the registry and returns the first handler which supports the specied action, or null if none is available.
 

Method Detail

findHandler

<A extends Action<R>,R extends Result> ActionHandler<A,R> findHandler(A action)
Searches the registry and returns the first handler which supports the specied action, or null if none is available.

Parameters:
action - The action.
Returns:
The handler.

clearHandlers

void clearHandlers()
Clears all registered handlers from the registry.



Copyright © 2011 customware.net. All Rights Reserved.