|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evelopers.unimod.runtime.interpretation.InstantiateHelper
Helps to instantiate ControlledObjects
,
EventProviders
and
StateMachineConfigManagers
Constructor Summary | |
InstantiateHelper()
|
Method Summary | |
static ControlledObject |
getControlledObject(java.lang.String implementationClassName)
Instantiates target ControlledObject implementation. |
static EventProvider |
getEventProvider(java.lang.String implementationClassName)
Instantiates target EventProvider implementation. |
static java.lang.Object |
getObject(java.lang.String implementationClassName,
java.lang.Class generalClass)
Instantiates target implementation object. |
static StateMachineConfigManager |
getStateMachineConfigManager(java.lang.String implementationClassName)
Instantiates target StateMachineConfigManager implementation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InstantiateHelper()
Method Detail |
public static ControlledObject getControlledObject(java.lang.String implementationClassName) throws EventProcessorException
EventProcessorException
- if class couldn't be casted to ControlledObject or
object couldn't be created.public static EventProvider getEventProvider(java.lang.String implementationClassName) throws EventProcessorException
EventProcessorException
- if class couldn't be casted to EventProvider or
object couldn't be created.public static StateMachineConfigManager getStateMachineConfigManager(java.lang.String implementationClassName) throws EventProcessorException
EventProcessorException
- if class couldn't be casted to StateMachineConfigManager or
object couldn't be created.public static java.lang.Object getObject(java.lang.String implementationClassName, java.lang.Class generalClass) throws EventProcessorException
EventProcessorException
- if class couldn't be casted to generalClass or
object couldn't be created.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |