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 knownActiontypes, keyed by action type-id (a string). Each action registers itsActionFactoryusing theregister(String, ActionFactory)method.
-
-
Constructor Summary
Constructors Constructor Description ActionRegistryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActioncreateAction(ActionContext context)voidregister(java.lang.String typeId, ActionFactory factory)
-
-
-
Method Detail
-
register
public void register(java.lang.String typeId, ActionFactory factory)- Specified by:
registerin interfaceActionRegistry
-
createAction
public Action createAction(ActionContext context)
-
-