|
Arch4J 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.arch4j.clientcontroller.ClientStateProvider
Provides runtime access to the client state model.
Field Summary | |
protected String |
CLIENT_STATE_DOMAIN
The property file name. |
protected String |
ROOT_TRANSITION_CLASS_PROPERTY
The root transition class property name. |
Constructor Summary | |
protected |
ClientStateProvider()
This is made protected so the only way to access this class is
through the getProvider method. |
Method Summary | |
protected Object |
createInstance(String classname)
Create an instance from the classname . |
static ClientStateProvider |
getProvider()
Returns the singleton instance of this class. |
protected Transition |
getRootTransition()
Get the root transition class name implementation to use from the property setting. |
StateMachine |
getStateMachine()
Returns a reference to a new root StateMachine . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final String CLIENT_STATE_DOMAIN
protected final String ROOT_TRANSITION_CLASS_PROPERTY
Constructor Detail |
protected ClientStateProvider()
protected
so the only way to access this class is
through the getProvider
method.
Method Detail |
public static ClientStateProvider getProvider()
public StateMachine getStateMachine()
StateMachine
.
protected Transition getRootTransition()
EnvironmentalException
- if unable to retrieve the classname property or associate a
Class
object with the classname.protected Object createInstance(String classname)
classname
.
EnvironmentalException
- if fails to create a new instance of the specified classname
.
Note that we do not throw a StateMachineException
here as no
state machine yet exists to catch and handle this.
|
Arch4J 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |