AbstractEagerActionHandlerValidatorRegistryImpl
.@Deprecated public abstract class AbstractEagerActionHandlerValidatorRegistryImpl extends Object implements EagerActionHandlerValidatorRegistry
ActionHandler
and ActionValidator
implementations must have a
public, default constructor.Modifier | Constructor and Description |
---|---|
protected |
AbstractEagerActionHandlerValidatorRegistryImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<A extends Action<R>,R extends Result> |
addActionHandlerValidator(Class<A> actionClass,
ActionHandlerValidatorInstance actionHandlerValidatorInstance)
Deprecated.
|
void |
clearActionHandlerValidators()
Deprecated.
Clears all registered
ActionValidator from the registry. |
<A extends Action<R>,R extends Result> |
findActionHandlerValidator(A action)
Deprecated.
Searches the registry and returns the first
ActionValidator which
supports the specified Action , or null if none is
available. |
ActionValidator |
findActionValidator(Class<? extends ActionValidator> actionValidatorClass)
Deprecated.
Searches the registry for already bound
ActionValidator
class and
return the instance or null if none is available. |
<A extends Action<R>,R extends Result> |
removeActionHandlerValidator(Class<A> actionClass)
Deprecated.
|
protected AbstractEagerActionHandlerValidatorRegistryImpl()
public <A extends Action<R>,R extends Result> void addActionHandlerValidator(Class<A> actionClass, ActionHandlerValidatorInstance actionHandlerValidatorInstance)
addActionHandlerValidator
in interface EagerActionHandlerValidatorRegistry
A
- Type of associated Action
R
- Type of associated Result
actionClass
- The Action
classpublic void clearActionHandlerValidators()
ActionHandlerValidatorRegistry
ActionValidator
from the registry.clearActionHandlerValidators
in interface ActionHandlerValidatorRegistry
public <A extends Action<R>,R extends Result> ActionHandlerValidatorInstance findActionHandlerValidator(A action)
ActionHandlerValidatorRegistry
ActionValidator
which
supports the specified Action
, or null
if none is
available.findActionHandlerValidator
in interface ActionHandlerValidatorRegistry
A
- Type of associated Action
R
- Type of associated Result
action
- The Action
ActionValidator
public ActionValidator findActionValidator(Class<? extends ActionValidator> actionValidatorClass)
ActionHandlerValidatorRegistry
ActionValidator
class and
return the instance or null
if none is available.findActionValidator
in interface ActionHandlerValidatorRegistry
actionValidatorClass
- The Action
public <A extends Action<R>,R extends Result> boolean removeActionHandlerValidator(Class<A> actionClass)
removeActionHandlerValidator
in interface EagerActionHandlerValidatorRegistry
A
- Type of associated Action
R
- Type of associated Result
actionClass
- The Action
classtrue
if the handler was previously registered and was
successfully removed.Copyright © 2010-2014 ArcBees. All Rights Reserved.