org.jbpm.pvm.internal.processengine
Class SpringHelper
java.lang.Object
org.jbpm.pvm.internal.processengine.SpringHelper
- All Implemented Interfaces:
- org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware
public class SpringHelper
- extends java.lang.Object
- implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.DisposableBean
- Author:
- Joram Barrez, Huisheng Xu
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
jbpmCfg
protected java.lang.String jbpmCfg
processEngine
protected ProcessEngine processEngine
SpringHelper
public SpringHelper()
setJbpmCfg
public void setJbpmCfg(java.lang.String jbpmCfg)
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
createProcessEngine
public ProcessEngine createProcessEngine()
destroy
public void destroy()
throws java.lang.Exception
- close process engine when spring close/refresh ctx.
- Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
- Throws:
java.lang.Exception
Copyright © 2010 JBoss Community. All Rights Reserved.