【JBPM4】流程部署

 

示例代码:

 

1         ProcessEngine processEngine =  Configuration.getProcessEngine();
2         RepositoryService repositoryService = processEngine.getRepositoryService();
3         repositoryService.createDeployment().addResourceFromClasspath("test.jpdl.xml").deploy();


1、获取流程引擎

2、获取流程部署仓库服务Service

3、创建流程部署

 

 

 

 

posted @ 2014-02-28 11:04  濤叔  阅读(393)  评论(0编辑  收藏  举报