jbpm-form-modeler-common 1.0-SNAPSHOT

org.jbpm.formModeler.service.bb.commons.config.componentsFactory
Class InitialModulesManager

java.lang.Object
  extended by org.jbpm.formModeler.service.bb.commons.config.componentsFactory.BasicFactoryElement
      extended by org.jbpm.formModeler.service.bb.commons.config.componentsFactory.InitialModulesManager
All Implemented Interfaces:
Serializable, FactoryLifecycle

public class InitialModulesManager
extends BasicFactoryElement

A core factory component that manages the loading and execution of all the registered InitialModule components at start-up time.

See Also:
Serialized Form

Field Summary
static org.apache.commons.logging.Log log
           
 
Constructor Summary
InitialModulesManager()
           
 
Method Summary
 InitialModule[] getModules()
           
 void setModules(InitialModule[] modules)
           
 void start()
          Called after constructing the instance and setting the default properties.
 
Methods inherited from class org.jbpm.formModeler.service.bb.commons.config.componentsFactory.BasicFactoryElement
addPeriodicTask, addPeriodicTask, factoryLookup, getComponentAlias, getComponentDescription, getComponentName, getComponentScope, init, setComponentAlias, shutdown, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static transient org.apache.commons.logging.Log log
Constructor Detail

InitialModulesManager

public InitialModulesManager()
Method Detail

getModules

public InitialModule[] getModules()

setModules

public void setModules(InitialModule[] modules)

start

public void start()
           throws Exception
Description copied from class: BasicFactoryElement
Called after constructing the instance and setting the default properties. When the Factory is about to set a group of properties, it calls stop, sets the properties and then calls start.

Specified by:
start in interface FactoryLifecycle
Overrides:
start in class BasicFactoryElement
Throws:
Exception

jbpm-form-modeler-common 1.0-SNAPSHOT

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.