public class CdfValidationFactory extends Object implements ActionFactory<CdfValidationAction>
Constructor and Description |
---|
CdfValidationFactory() |
Modifier and Type | Method and Description |
---|---|
CdfValidationAction[] |
getActions(InvokationContext<? super CdfValidationAction> context)
This method may be called one or several times for each request.
|
boolean |
prepareContext(InvokationContext<? super CdfValidationAction> 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 CdfValidationAction> context)
ActionFactory
JspContext
.
prepareContext
in interface ActionFactory<CdfValidationAction>
context
- The current invokation contextpublic CdfValidationAction[] getActions(InvokationContext<? super CdfValidationAction> context)
ActionFactory
getActions
in interface ActionFactory<CdfValidationAction>
context
- The current invokation context