• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java ProcessEngineFactoryBean类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: afterPropertiesSet

import org.activiti.spring.ProcessEngineFactoryBean; //导入依赖的package包/类
public void afterPropertiesSet() throws Exception {
    if (!enabled) {
        return;
    }

    ProcessEngineFactoryBean processEngineFactoryBean = new ProcessEngineFactoryBean();
    processEngineFactoryBean
            .setProcessEngineConfiguration(processEngineConfiguration);
    processEngineFactoryBean.setApplicationContext(applicationContext);

    ProcessEngine processEngine = processEngineFactoryBean.getObject();
    proxyProcessEngine.setProcessEngine(processEngine);
}
 
开发者ID:zhaojunfei,项目名称:lemon,代码行数:14,代码来源:ProxyProcessEngineFactoryBean.java


示例2: createEngineUseSpring

import org.activiti.spring.ProcessEngineFactoryBean; //导入依赖的package包/类
@Test
public void createEngineUseSpring() {
    ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("applicationContext-test.xml");
    ProcessEngineFactoryBean factoryBean = context.getBean(ProcessEngineFactoryBean.class);
    assertNotNull(factoryBean);

    RuntimeService bean = context.getBean(RuntimeService.class);
    assertNotNull(bean);
}
 
开发者ID:shawn-gogh,项目名称:myjavacode,代码行数:10,代码来源:CreateEngineUseSpringProxy.java


示例3: activitiProcessEngine

import org.activiti.spring.ProcessEngineFactoryBean; //导入依赖的package包/类
/**
 * Gets the Activiti Process Engine.
 *
 * @param activitiProcessEngineConfiguration the Activiti process engine configuration to use.
 *
 * @return the Activiti Process Engine.
 */
@Bean(destroyMethod = "destroy")
public ProcessEngineFactoryBean activitiProcessEngine(SpringProcessEngineConfiguration activitiProcessEngineConfiguration)
{
    // Create and return a factory bean that can return an Activiti process engine based on our Activiti process engine configuration bean.
    ProcessEngineFactoryBean bean = new ProcessEngineFactoryBean();
    bean.setProcessEngineConfiguration(activitiProcessEngineConfiguration);
    return bean;
}
 
开发者ID:FINRAOS,项目名称:herd,代码行数:16,代码来源:ServiceSpringModuleConfig.java


示例4: processEngineFactoryBean

import org.activiti.spring.ProcessEngineFactoryBean; //导入依赖的package包/类
@Bean
public ProcessEngineFactoryBean processEngineFactoryBean() {
    ProcessEngineFactoryBean engine = new ProcessEngineFactoryBean();
    engine.setProcessEngineConfiguration(springProcessEngineConfiguration());
    return engine;

}
 
开发者ID:rafizanbaharum,项目名称:cfi-gov,代码行数:8,代码来源:CfWebWorkflowConfig.java


示例5: createProcessEngine

import org.activiti.spring.ProcessEngineFactoryBean; //导入依赖的package包/类
private AbstractBeanDefinition createProcessEngine(){
    BeanDefinitionBuilder bd = genericBeanDefinition(ProcessEngineFactoryBean.class);
    bd.addPropertyReference("processEngineConfiguration","processEngineConfiguration");
    bd.setDestroyMethodName("destroy");
    return bd.getBeanDefinition();
}
 
开发者ID:tryndamere,项目名称:bpm-adapter,代码行数:7,代码来源:ActivitiEngineInitialize.java


示例6: repositoryService

import org.activiti.spring.ProcessEngineFactoryBean; //导入依赖的package包/类
@Bean
public RepositoryService repositoryService(ProcessEngineFactoryBean pefb) throws Exception {
    return pefb.getObject().getRepositoryService();
}
 
开发者ID:rafizanbaharum,项目名称:cfi-gov,代码行数:5,代码来源:CfWebWorkflowConfig.java


示例7: runtimeService

import org.activiti.spring.ProcessEngineFactoryBean; //导入依赖的package包/类
@Bean
public RuntimeService runtimeService(ProcessEngineFactoryBean pefb) throws Exception {
    return pefb.getObject().getRuntimeService();
}
 
开发者ID:rafizanbaharum,项目名称:cfi-gov,代码行数:5,代码来源:CfWebWorkflowConfig.java


示例8: historyService

import org.activiti.spring.ProcessEngineFactoryBean; //导入依赖的package包/类
@Bean
public HistoryService historyService(ProcessEngineFactoryBean pefb) throws Exception {
    return pefb.getObject().getHistoryService();
}
 
开发者ID:rafizanbaharum,项目名称:cfi-gov,代码行数:5,代码来源:CfWebWorkflowConfig.java


示例9: managementService

import org.activiti.spring.ProcessEngineFactoryBean; //导入依赖的package包/类
@Bean
public ManagementService managementService(ProcessEngineFactoryBean pefb) throws Exception {
    return pefb.getObject().getManagementService();
}
 
开发者ID:rafizanbaharum,项目名称:cfi-gov,代码行数:5,代码来源:CfWebWorkflowConfig.java


示例10: identityService

import org.activiti.spring.ProcessEngineFactoryBean; //导入依赖的package包/类
@Bean
public IdentityService identityService(ProcessEngineFactoryBean pefb) throws Exception {
    return pefb.getObject().getIdentityService();
}
 
开发者ID:rafizanbaharum,项目名称:cfi-gov,代码行数:5,代码来源:CfWebWorkflowConfig.java


示例11: taskService

import org.activiti.spring.ProcessEngineFactoryBean; //导入依赖的package包/类
@Bean
public TaskService taskService(ProcessEngineFactoryBean pefb) throws Exception {
    return pefb.getObject().getTaskService();
}
 
开发者ID:rafizanbaharum,项目名称:cfi-gov,代码行数:5,代码来源:CfWebWorkflowConfig.java


示例12: processEngine

import org.activiti.spring.ProcessEngineFactoryBean; //导入依赖的package包/类
public ProcessEngine processEngine() throws Exception {
    ProcessEngineFactoryBean processEngineFactoryBean = new ProcessEngineFactoryBean();
    processEngineFactoryBean.setApplicationContext(this.applicationContext());
    processEngineFactoryBean.setProcessEngineConfiguration(processEngineConfiguration());
    return processEngineFactoryBean.getObject();
}
 
开发者ID:joshlong,项目名称:javaconfig-ftw,代码行数:7,代码来源:DefaultActivitiConfigurer.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java Persistable类代码示例发布时间:2022-05-22
下一篇:
Java Bzip2Factory类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap