|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.customware.gwt.dispatch.server.AbstractActionHandler<A,R>
A
- The Action
implementation.R
- The Result
implementation.public abstract 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. It's arguable if this is any simpler than just implementing the
ActionHandler
and its getActionType()
directly.
Constructor Summary | |
---|---|
AbstractActionHandler(java.lang.Class<A> actionType)
|
Method Summary | |
---|---|
java.lang.Class<A> |
getActionType()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.customware.gwt.dispatch.server.ActionHandler |
---|
execute, rollback |
Constructor Detail |
---|
public AbstractActionHandler(java.lang.Class<A> actionType)
Method Detail |
---|
public java.lang.Class<A> getActionType()
getActionType
in interface ActionHandler<A extends Action<R>,R extends Result>
Action
supported by this handler.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |