public class CelValidationFactory extends Object implements ActionFactory<CelValidationAction>
Constructor and Description |
---|
CelValidationFactory() |
Modifier and Type | Method and Description |
---|---|
CelValidationAction[] |
getActions(InvokationContext<? super CelValidationAction> context)
This method may be called one or several times for each request.
|
boolean |
prepareContext(InvokationContext<? super CelValidationAction> context)
This method is called once for each request/use of an
extension and have two purposes:
The factory should decide if the extension should be enabled or
not.
|
public boolean prepareContext(InvokationContext<? super CelValidationAction> context)
ActionFactory
JspContext
.
prepareContext
in interface ActionFactory<CelValidationAction>
context
- The current invokation contextpublic CelValidationAction[] getActions(InvokationContext<? super CelValidationAction> context)
ActionFactory
getActions
in interface ActionFactory<CelValidationAction>
context
- The current invokation context