com.gwtplatform.dispatch.server.guice.actionhandlervalidator
Class LazyActionHandlerValidatorRegistryImpl
java.lang.Object
com.gwtplatform.dispatch.server.guice.actionhandlervalidator.LazyActionHandlerValidatorRegistryImpl
- All Implemented Interfaces:
- ActionHandlerValidatorRegistry, LazyActionHandlerValidatorRegistry
public class LazyActionHandlerValidatorRegistryImpl
- extends Object
- implements LazyActionHandlerValidatorRegistry
This is a lazy-loading implementation of the registry. It will only create
action handlers and validators when they are first used. All
ActionHandler
and ActionValidator
implementations must
have a public, default constructor.
- Author:
- Christian Goudreau
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addActionHandlerValidatorClass
public <A extends Action<R>,R extends Result> void addActionHandlerValidatorClass(Class<A> actionClass,
ActionHandlerValidatorClass<A,R> actionHandlerValidatorClass)
- Specified by:
addActionHandlerValidatorClass
in interface LazyActionHandlerValidatorRegistry
clearActionHandlerValidators
public void clearActionHandlerValidators()
- Specified by:
clearActionHandlerValidators
in interface ActionHandlerValidatorRegistry
findActionHandlerValidator
public <A extends Action<R>,R extends Result> ActionHandlerValidatorInstance findActionHandlerValidator(A action)
- Specified by:
findActionHandlerValidator
in interface ActionHandlerValidatorRegistry
findActionValidator
public ActionValidator findActionValidator(Class<? extends ActionValidator> actionValidatorClass)
- Specified by:
findActionValidator
in interface ActionHandlerValidatorRegistry
removeActionHandlerValidatorClass
public <A extends Action<R>,R extends Result> void removeActionHandlerValidatorClass(Class<A> actionClass,
ActionHandlerValidatorClass<A,R> actionHandlerValidatorClass)
- Specified by:
removeActionHandlerValidatorClass
in interface LazyActionHandlerValidatorRegistry
Copyright © 2010-2013 JBoss by Red Hat. All Rights Reserved.