it.eng.spago.workflow.worklist.initializer
Class WfInitializer

java.lang.Object
  extended by it.eng.spago.workflow.worklist.initializer.WfInitializer

public class WfInitializer
extends java.lang.Object

Author:
zoppello A Spago Initializer that read the file workflow.xml with the following structure: The Initializer istantiate the engine, load ad startup the paclages listed in sub elements and put the engine instance on Spago Application Container with the WfEngine Key So to get the instance of the engine we must code something like: IWorkflowEngine wfEngine = (IWorkflowEngine)ApplicationContainer.getInstance().setAttribute("WfEngine")

Constructor Summary
WfInitializer()
          Default Constructor
 
Method Summary
 SourceBean getConfig()
           
 void init(SourceBean config)
          Initialize the Workflow Engine reading configuration from workflow.xml file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WfInitializer

public WfInitializer()
Default Constructor

Method Detail

init

public void init(SourceBean config)
Initialize the Workflow Engine reading configuration from workflow.xml file


getConfig

public SourceBean getConfig()
See Also:
it.eng.spago.init.InitializerIFace#getConfig()