package com.jbpm.cfg;
import org.jbpm.api.Configuration;
import org.jbpm.api.ProcessEngine;
/**
* Description:jbpm流程引擎类
* @auth Luj 2010.06.04
* @date 2010.06.04
* @version 1.0
*/
public class JbpmConfig {
private static final ProcessEngine processEngine = new Configuration()
.setResource("config/jbpm.cfg.xml").buildProcessEngine();
private JbpmConfig() {
}
/**
* 返回 ProcessEngine 流程引擎实例
* @return
*/
public static ProcessEngine getProcessEngineInstance() {
return processEngine;
}
}