@Override
public void run()
{
try
{
StateMachineEngine stateMach = _manager.getStateMachineEngine();
stateMach.registerStateModelFactory("MasterSlave", _msModelFactory);
DummyLeaderStandbyStateModelFactory lsModelFactory =
new DummyLeaderStandbyStateModelFactory(10);
DummyOnlineOfflineStateModelFactory ofModelFactory =
new DummyOnlineOfflineStateModelFactory(10);
stateMach.registerStateModelFactory("LeaderStandby", lsModelFactory);
stateMach.registerStateModelFactory("OnlineOffline", ofModelFactory);
MockSchemataModelFactory schemataFactory = new MockSchemataModelFactory();
stateMach.registerStateModelFactory("STORAGE_DEFAULT_SM_SCHEMATA", schemataFactory);
// MockBootstrapModelFactory bootstrapFactory = new MockBootstrapModelFactory();
// stateMach.registerStateModelFactory("Bootstrap", bootstrapFactory);
if (_job != null)
{