|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbpm.api.Configuration
public class Configuration
process engine configuration.
Constructor Summary | |
---|---|
|
Configuration()
default constructor |
protected |
Configuration(Configuration base)
empty constructor to be used by concrete implementations of Configuration |
|
Configuration(java.lang.String type)
creates a configuration of a specific implementation type. |
Method Summary | |
---|---|
ProcessEngine |
buildProcessEngine()
after specifying the configuration resources with the other methods, a process engine can be created. |
protected java.lang.ClassLoader |
getClassLoader()
|
static ProcessEngine |
getProcessEngine()
Convenience method to retrieve the default ProcessEngine . |
protected Configuration |
instantiate(java.lang.String className)
|
Configuration |
setFile(java.io.File file)
provide a File as the configuration file |
Configuration |
setHibernateSessionFactory(java.lang.Object hibernateSessionFactory)
provides the hibernate session factory programmatically. |
Configuration |
setInputSource(org.xml.sax.InputSource inputSource)
provide a sax input source as the configuration resource |
Configuration |
setInputStream(java.io.InputStream inputStream)
provide an input stream as the configuration resource |
Configuration |
setResource(java.lang.String resource)
provide an classpath resource as the configuration file |
Configuration |
setUrl(java.net.URL url)
point with a url to the configuration file |
Configuration |
setXmlString(java.lang.String xmlString)
provide an xml string as the configuration resource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Configuration()
public Configuration(java.lang.String type)
null
.
protected Configuration(Configuration base)
Method Detail |
---|
protected Configuration instantiate(java.lang.String className)
protected java.lang.ClassLoader getClassLoader()
public Configuration setXmlString(java.lang.String xmlString)
public Configuration setResource(java.lang.String resource)
public Configuration setInputStream(java.io.InputStream inputStream)
public Configuration setInputSource(org.xml.sax.InputSource inputSource)
public Configuration setUrl(java.net.URL url)
public Configuration setFile(java.io.File file)
public ProcessEngine buildProcessEngine()
public Configuration setHibernateSessionFactory(java.lang.Object hibernateSessionFactory)
public static ProcessEngine getProcessEngine()
ProcessEngine
. To
construct this ProcessEngine
, the classpath resource 'jbpm.cfg.xml'
will be used.
Subsequent calls will return the same ProcessEngine
instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |