GWTP Dispatch Server Base 0.7-redhat-1

com.gwtplatform.dispatch.server.actionhandlervalidator
Interface EagerActionHandlerValidatorRegistry

All Superinterfaces:
ActionHandlerValidatorRegistry
All Known Implementing Classes:
AbstractEagerActionHandlerValidatorRegistryImpl

public interface EagerActionHandlerValidatorRegistry
extends ActionHandlerValidatorRegistry

Author:
Christian Goudreau

Method Summary
<A extends Action<R>,R extends Result>
void
addActionHandlerValidator(Class<A> actionClass, ActionHandlerValidatorInstance actionHandlerValidatorInstance)
           
<A extends Action<R>,R extends Result>
boolean
removeActionHandlerValidator(Class<A> actionClass)
           
 
Methods inherited from interface com.gwtplatform.dispatch.server.actionhandlervalidator.ActionHandlerValidatorRegistry
clearActionHandlerValidators, findActionHandlerValidator, findActionValidator
 

Method Detail

addActionHandlerValidator

<A extends Action<R>,R extends Result> void addActionHandlerValidator(Class<A> actionClass,
                                                                      ActionHandlerValidatorInstance actionHandlerValidatorInstance)
Type Parameters:
A - Type of associated Action
R - Type of associated Result
Parameters:
actionClass - The Action class

removeActionHandlerValidator

<A extends Action<R>,R extends Result> boolean removeActionHandlerValidator(Class<A> actionClass)
Type Parameters:
A - Type of associated Action
R - Type of associated Result
Parameters:
actionClass - The Action class
Returns:
true if the handler was previously registered and was successfully removed.

GWTP Dispatch Server Base 0.7-redhat-1

Copyright © 2010-2013 JBoss by Red Hat. All Rights Reserved.