GWTP Dispatch client 0.6-redhat-2

com.gwtplatform.dispatch.client.actionhandler
Class AbstractClientActionHandler<A extends Action<R>,R extends Result>

java.lang.Object
  extended by com.gwtplatform.dispatch.client.actionhandler.AbstractClientActionHandler<A,R>
Type Parameters:
A - The Action type.
R - The Result type.
All Implemented Interfaces:
ClientActionHandler<A,R>
Direct Known Subclasses:
AbstractCachingClientActionHandler

public abstract class AbstractClientActionHandler<A extends Action<R>,R extends Result>
extends Object
implements ClientActionHandler<A,R>

Simple abstract super-class for ActionHandler implementations that forces the Action class to be passed in as a constructor to the handler.

Author:
David Peterson, Brendan Doherty

Constructor Summary
protected AbstractClientActionHandler(Class<A> actionType)
           
 
Method Summary
 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 com.gwtplatform.dispatch.client.actionhandler.ClientActionHandler
execute, undo
 

Constructor Detail

AbstractClientActionHandler

protected AbstractClientActionHandler(Class<A> actionType)
Method Detail

getActionType

public Class<A> getActionType()
Specified by:
getActionType in interface ClientActionHandler<A extends Action<R>,R extends Result>
Returns:
The type of Action supported by this handler.

GWTP Dispatch client 0.6-redhat-2

Copyright © 2010-2012 ArcBees. All Rights Reserved.