net.customware.gwt.dispatch.server
Class AbstractActionHandler<A extends Action<R>,R extends Result>
java.lang.Object
net.customware.gwt.dispatch.server.AbstractActionHandler<A,R>
- Type Parameters:
A - The Action implementation.R - The Result implementation.
- All Implemented Interfaces:
- ActionHandler<A,R>
- Direct Known Subclasses:
- BatchActionHandler
public abstract class AbstractActionHandler<A extends Action<R>,R extends Result>
- extends Object
- implements ActionHandler<A,R>
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.
- Author:
- David Peterson
- See Also:
SimpleActionHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractActionHandler
public AbstractActionHandler(Class<A> actionType)
getActionType
public Class<A> getActionType()
- Specified by:
getActionType in interface ActionHandler<A extends Action<R>,R extends Result>
- Returns:
- The type of
Action supported by this handler.
Copyright © 2011 customware.net. All Rights Reserved.