| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.evelopers.unimod.debug.ThreadConfigManager
Uses ThreadInfo as statemachine config key. If ThreadInfo can't be determined - does nothing
| Constructor Summary | |
| ThreadConfigManager() | |
| Method Summary | |
|  void | dispose(StateMachinePath path,
        StateMachineContext context,
        StateMachineConfig finalConfig)Disposes config store. | 
|  void | init(StateMachinePath path,
     StateMachineContext context,
     StateMachineConfig initialConfig)Initializes config store. | 
|  StateMachineConfig | load(StateMachinePath path,
     StateMachineContext context)Loads config for given path from some store. | 
|  void | onEnter(StateMachinePath path) | 
|  void | onExit(StateMachinePath path) | 
|  void | resetAllThreadConfigs() | 
|  void | store(StateMachinePath path,
      StateMachineContext context,
      StateMachineConfig config)Stores given config against given path. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public ThreadConfigManager()
| Method Detail | 
public void onEnter(StateMachinePath path)
public void onExit(StateMachinePath path)
public void init(StateMachinePath path,
                 StateMachineContext context,
                 StateMachineConfig initialConfig)
StateMachineConfigManager
init in interface StateMachineConfigManagerpath - path to state machine instanceinitialConfig - initial config of the state machine
public StateMachineConfig load(StateMachinePath path,
                               StateMachineContext context)
StateMachineConfigManagernull. It will
 lead to StateMachineConfigManager.init(com.evelopers.unimod.runtime.StateMachinePath, com.evelopers.unimod.runtime.context.StateMachineContext, com.evelopers.unimod.runtime.StateMachineConfig) method invocation.
load in interface StateMachineConfigManagerpath - path to state machine config to loadcontext - state machine context that has come with event
public void store(StateMachinePath path,
                  StateMachineContext context,
                  StateMachineConfig config)
StateMachineConfigManager
store in interface StateMachineConfigManagerpath - path to state machine config to storecontext - state machine context that has come with eventconfig - state machine config to store
public void dispose(StateMachinePath path,
                    StateMachineContext context,
                    StateMachineConfig finalConfig)
StateMachineConfigManagerAbstractEventProcessor will call this method when state machine
 comes to final state.
dispose in interface StateMachineConfigManagerpath - path to state machine instancefinalConfig - current final config of the state machinepublic void resetAllThreadConfigs()
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||