|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ActionHandler | |
|---|---|
| net.customware.gwt.dispatch.server | |
| net.customware.gwt.dispatch.server.guice | |
| Uses of ActionHandler in net.customware.gwt.dispatch.server |
|---|
| Classes in net.customware.gwt.dispatch.server that implement ActionHandler | |
|---|---|
class |
AbstractActionHandler<A extends Action<R>,R extends Result>
Simple abstract super-class for ActionHandler implementations that
forces the Action class to be passed in as a constructor to the
handler. |
class |
BatchActionHandler
This handles BatchAction requests, which are a set of multiple
actions that need to all be executed successfully in sequence for the whole
action to succeed. |
class |
SimpleActionHandler<A extends Action<R>,R extends Result>
The SimpleActionHandler is a base implementation which allows for only the execute(Action, ExecutionContext)
method to be implemented. |
| Methods in net.customware.gwt.dispatch.server that return ActionHandler | ||
|---|---|---|
protected ActionHandler<?,?> |
LazyActionHandlerRegistry.createInstance(Class<? extends ActionHandler<?,?>> handlerClass)
|
|
|
LazyActionHandlerRegistry.findHandler(A action)
|
|
|
DefaultActionHandlerRegistry.findHandler(A action)
|
|
|
ActionHandlerRegistry.findHandler(A action)
Searches the registry and returns the first handler which supports the specied action, or null if none is available. |
|
| Methods in net.customware.gwt.dispatch.server with parameters of type ActionHandler | ||
|---|---|---|
void |
InstanceActionHandlerRegistry.addHandler(ActionHandler<?,?> handler)
Adds the specified handler instance to the registry. |
|
void |
DefaultActionHandlerRegistry.addHandler(ActionHandler<?,?> handler)
|
|
protected
|
AbstractDispatch.executed(A action,
R result,
ActionHandler<A,R> handler,
ExecutionContext ctx)
Method invoked after the specified action has been succesfully executed with the specified handler. |
|
protected
|
AbstractDispatch.executing(A action,
ActionHandler<A,R> handler,
ExecutionContext ctx)
Method invoked before executing the specified action with the specified handler. |
|
protected
|
AbstractDispatch.failed(A action,
Throwable e,
ActionHandler<A,R> handler,
ExecutionContext ctx)
Method invoked after the specified action has been unsuccesfully executed with the specified handler. |
|
boolean |
InstanceActionHandlerRegistry.removeHandler(ActionHandler<?,?> handler)
Removes the specified handler. |
|
boolean |
DefaultActionHandlerRegistry.removeHandler(ActionHandler<?,?> handler)
|
|
| Method parameters in net.customware.gwt.dispatch.server with type arguments of type ActionHandler | ||
|---|---|---|
|
LazyActionHandlerRegistry.addHandlerClass(Class<A> actionClass,
Class<? extends ActionHandler<A,R>> handlerClass)
|
|
|
ClassActionHandlerRegistry.addHandlerClass(Class<A> actionClass,
Class<? extends ActionHandler<A,R>> handlerClass)
Registers the specified ActionHandler class with the registry. |
|
protected ActionHandler<?,?> |
LazyActionHandlerRegistry.createInstance(Class<? extends ActionHandler<?,?>> handlerClass)
|
|
|
LazyActionHandlerRegistry.removeHandlerClass(Class<A> actionClass,
Class<? extends ActionHandler<A,R>> handlerClass)
|
|
|
ClassActionHandlerRegistry.removeHandlerClass(Class<A> actionClass,
Class<? extends ActionHandler<A,R>> handlerClass)
Removes any registration of the specified class, as well as any instances which have been created. |
|
void |
DefaultActionHandlerRegistry.setActionHandlers(List<ActionHandler<?,?>> actionHandlers)
Sets the specified actionHandlers as the only action handler held by this registry instance |
|
| Uses of ActionHandler in net.customware.gwt.dispatch.server.guice |
|---|
| Methods in net.customware.gwt.dispatch.server.guice that return ActionHandler | |
|---|---|
protected ActionHandler<?,?> |
GuiceLazyActionHandlerRegistry.createInstance(Class<? extends ActionHandler<?,?>> handlerClass)
|
| Methods in net.customware.gwt.dispatch.server.guice that return types with arguments of type ActionHandler | |
|---|---|
Class<? extends ActionHandler<A,R>> |
ActionHandlerMap.getActionHandlerClass()
|
| Method parameters in net.customware.gwt.dispatch.server.guice with type arguments of type ActionHandler | ||
|---|---|---|
protected
|
ActionHandlerModule.bindHandler(Class<A> actionClass,
Class<? extends ActionHandler<A,R>> handlerClass)
Call this method to binds the specified ActionHandler instance
class. |
|
protected ActionHandler<?,?> |
GuiceLazyActionHandlerRegistry.createInstance(Class<? extends ActionHandler<?,?>> handlerClass)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||