Class ActionRegistryImpl
- java.lang.Object
-
- com.inductiveautomation.perspective.gateway.action.ActionRegistryImpl
-
- All Implemented Interfaces:
ActionRegistry
public class ActionRegistryImpl extends java.lang.Object implements ActionRegistry
This registry holds the implementations of all knownAction
types, keyed by action type-id (a string). Each action registers itsActionFactory
using theregister(String, ActionFactory)
method.
-
-
Constructor Summary
Constructors Constructor Description ActionRegistryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Action
createAction(ActionContext context)
void
register(java.lang.String typeId, ActionFactory factory)
-
-
-
Method Detail
-
register
public void register(java.lang.String typeId, ActionFactory factory)
- Specified by:
register
in interfaceActionRegistry
-
createAction
public Action createAction(ActionContext context)
-
-