Interface HandlerFactory
-
public interface HandlerFactoryProvides the interface for creating action handlers. This is an internal interface that is not to be used and may change any time.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CoreActionHandlercreateCoreActionHandler(IContext context)Creates an action handler for the specified context.LoginActionHandlercreateLoginActionHandler(IContext context, java.util.Map<java.lang.String,? extends java.lang.Object> params)Creates a login handler for the specified context.java.lang.StringvalidateAndConvertToActionName(java.lang.String classOrActionName)Returns the name of a custom Java action from its name.
-
-
-
Method Detail
-
createCoreActionHandler
CoreActionHandler createCoreActionHandler(IContext context)
Creates an action handler for the specified context.- Parameters:
context- the context to execute the action in- Returns:
- the created action handler
-
createLoginActionHandler
LoginActionHandler createLoginActionHandler(IContext context, java.util.Map<java.lang.String,? extends java.lang.Object> params)
Creates a login handler for the specified context.- Parameters:
context- the context to execute the action inparams- the parameters for the login action- Returns:
- the created login handler
-
validateAndConvertToActionName
java.lang.String validateAndConvertToActionName(java.lang.String classOrActionName)
Returns the name of a custom Java action from its name.- Parameters:
classOrActionName- the name of the action- Returns:
- the action name
-
-