当前位置: 首页>>代码示例>>Java>>正文


Java DeploymentUnit类代码示例

本文整理汇总了Java中org.jbpm.services.api.model.DeploymentUnit的典型用法代码示例。如果您正苦于以下问题:Java DeploymentUnit类的具体用法?Java DeploymentUnit怎么用?Java DeploymentUnit使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


DeploymentUnit类属于org.jbpm.services.api.model包,在下文中一共展示了DeploymentUnit类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: init

import org.jbpm.services.api.model.DeploymentUnit; //导入依赖的package包/类
@PostConstruct
public void init(){
    String[] gav = DEPLOYMENT_ID.split(":");
    DeploymentUnit deploymentUnit = new KModuleDeploymentUnit(gav[0], gav[1], gav[2]);
    if(deploymentService.isDeployed(deploymentUnit.getIdentifier()))
    {
    	deploymentService.undeploy(deploymentUnit);
    }
    deploymentService.deploy(deploymentUnit);
   
    
  //  DeployedUnit deployed = deploymentService.getDeployedUnit(deploymentUnit.getIdentifier());
  //  RuntimeManager manager = deployed.getRuntimeManager();
  //  System.out.print("This is test");
}
 
开发者ID:Contourdynamics,项目名称:smartcommunication,代码行数:16,代码来源:JbpmProducer.java

示例2: init

import org.jbpm.services.api.model.DeploymentUnit; //导入依赖的package包/类
@PostConstruct
public void init() {
	String[] gav = PROCESSES_DEPLOYMENT_ID.split(":");
	DeploymentUnit deploymentUnit = new KModuleDeploymentUnit(gav[0], gav[1], gav[2]);
	deploymentService.deploy(deploymentUnit);

}
 
开发者ID:awizen,项目名称:gangehi,代码行数:8,代码来源:StartupBean.java

示例3: init

import org.jbpm.services.api.model.DeploymentUnit; //导入依赖的package包/类
@PostConstruct
public void init() {
    System.setProperty("org.jbpm.ht.callback", "custom");
    System.setProperty("org.jbpm.ht.custom.callback", "org.jbpm.examples.util.RewardsUserGroupCallback");
    String[] gav = DEPLOYMENT_ID.split(":");
    DeploymentUnit deploymentUnit = new KModuleDeploymentUnit(gav[0], gav[1], gav[2]);
    deploymentService.deploy(deploymentUnit);
}
 
开发者ID:jsvitak,项目名称:jbpm-6-examples,代码行数:9,代码来源:StartupBean.java

示例4: init

import org.jbpm.services.api.model.DeploymentUnit; //导入依赖的package包/类
@PostConstruct
public void init() {
    String[] gav = DEPLOYMENT_ID.split(":");
    DeploymentUnit deploymentUnit = new KModuleDeploymentUnit(gav[0], gav[1], gav[2]);
    deploymentService.deploy(deploymentUnit);
}
 
开发者ID:jsvitak,项目名称:jbpm-6-examples,代码行数:7,代码来源:StartupBean.java


注:本文中的org.jbpm.services.api.model.DeploymentUnit类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。