it.amattioli.workstate.config
Class Registry

Show UML class diagram
java.lang.Object
  extended by it.amattioli.workstate.config.Registry

public class Registry
extends Object


Method Summary
 MetaMachine getMetaMachine(Configuration config)
           
 MetaMachine getMetaMachine(String id)
           
static Registry instance()
           
 Machine newMachine(Configuration config, Object owner)
           
 Machine newMachine(Configuration config, Object owner, CompositeState parent)
           
 Machine newMachine(String id)
           
 Machine newMachine(String id, Object owner)
           
 Machine newMachine(String id, Object owner, CompositeState parent)
           
 Machine newMachine(String id, Object owner, CompositeState parent, StateMemento memento)
           
 void register(Configuration config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static Registry instance()

register

public void register(Configuration config)

getMetaMachine

public MetaMachine getMetaMachine(String id)

getMetaMachine

public MetaMachine getMetaMachine(Configuration config)

newMachine

public Machine newMachine(Configuration config,
                          Object owner,
                          CompositeState parent)
                   throws WorkflowException
Throws:
WorkflowException

newMachine

public Machine newMachine(String id,
                          Object owner,
                          CompositeState parent)
                   throws WorkflowException
Throws:
WorkflowException

newMachine

public Machine newMachine(Configuration config,
                          Object owner)
                   throws WorkflowException
Throws:
WorkflowException

newMachine

public Machine newMachine(String id,
                          Object owner)
                   throws WorkflowException
Throws:
WorkflowException

newMachine

public Machine newMachine(String id)
                   throws WorkflowException
Throws:
WorkflowException

newMachine

public Machine newMachine(String id,
                          Object owner,
                          CompositeState parent,
                          StateMemento memento)
                   throws WorkflowException
Throws:
WorkflowException


Copyright © 2011. All Rights Reserved.