|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbpm.api.Configuration
public class Configuration
process engine configuration.
Constructor Summary | |
---|---|
|
Configuration()
default constructor |
protected |
Configuration(java.lang.Object o)
|
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()
get the singleton ProcessEngine that is created from the default configuration file 'jbpm.cfg.xml'. |
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()
protected Configuration(java.lang.Object o)
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |