Class ActionHandler
java.lang.Object
com.mendix.core.actionmanagement.internal.ActionHandler
Provides access to (internal) action handlers. This is an internal class that is not to be used and may change any time.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ConcurrentHashMap
<String, HandlerFactory> All action handlers by Mendix instance ID. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
convertToActionName
(String classOrActionName) Returns the name of a custom Java action from its name.static CoreActionHandler
createCoreHandler
(IContext context) Creates a new action handler for the specified context.static LoginActionHandler
createLoginHandler
(IContext context, Map<String, ? extends Object> params) Creates a new action handler with parameters for the specified context.static void
setHandlerFactory
(HandlerFactory handlerFactory) Initializes the handler factory.
-
Field Details
-
handlerFactories
All action handlers by Mendix instance ID.
-
-
Constructor Details
-
ActionHandler
public ActionHandler()
-
-
Method Details
-
createCoreHandler
Creates a new action handler for the specified context.- Parameters:
context
- the context for executing the action in
-
createLoginHandler
public static LoginActionHandler createLoginHandler(IContext context, Map<String, ? extends Object> params) Creates a new action handler with parameters for the specified context.- Parameters:
context
- the context for executing the action inparams
- the parameters for the action by name
-
convertToActionName
Returns the name of a custom Java action from its name.- Parameters:
classOrActionName
- the name of the action- Returns:
- the action name
-
setHandlerFactory
Initializes the handler factory.- Parameters:
handlerFactory
- the factory to set
-