jbpm-form-modeler-common 1.0-SNAPSHOT

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

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

public abstract class InitialModule
extends BasicFactoryElement

A core factory component addressed to initialize or update application data at system start-up.

See Also:
Serialized Form

Field Summary
static org.apache.commons.logging.Log log
           
 
Constructor Summary
InitialModule()
           
 
Method Summary
 boolean doTheInstall()
           
 String getName()
           
 long getVersion()
           
protected abstract  boolean install()
          Install this module
 void setName(String name)
           
 void setVersion(long version)
           
 
Methods inherited from class org.jbpm.formModeler.service.bb.commons.config.componentsFactory.BasicFactoryElement
addPeriodicTask, addPeriodicTask, factoryLookup, getComponentAlias, getComponentDescription, getComponentName, getComponentScope, init, setComponentAlias, shutdown, start, 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

InitialModule

public InitialModule()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getVersion

public long getVersion()

setVersion

public void setVersion(long version)

doTheInstall

public boolean doTheInstall()

install

protected abstract boolean install()
Install this module

Returns:
true on success

jbpm-form-modeler-common 1.0-SNAPSHOT

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