Search in sources :

Example 1 with ProcessEngineFactoryBean

use of org.camunda.bpm.engine.spring.ProcessEngineFactoryBean in project camunda-bpm-platform by camunda.

the class ExampleConfiguration method processEngine.

@Bean
public ProcessEngineFactoryBean processEngine() throws Exception {
    ProcessEngineFactoryBean engineFactoryBean = new ProcessEngineFactoryBean();
    engineFactoryBean.setProcessEngineConfiguration((ProcessEngineConfigurationImpl) processEngineConfiguration());
    return engineFactoryBean;
}
Also used : ProcessEngineFactoryBean(org.camunda.bpm.engine.spring.ProcessEngineFactoryBean) ProcessEngineFactoryBean(org.camunda.bpm.engine.spring.ProcessEngineFactoryBean) Bean(org.springframework.context.annotation.Bean)

Example 2 with ProcessEngineFactoryBean

use of org.camunda.bpm.engine.spring.ProcessEngineFactoryBean in project camunda-bpm-platform by camunda.

the class InMemProcessEngineConfiguration method processEngine.

@Bean
public ProcessEngineFactoryBean processEngine() {
    ProcessEngineFactoryBean factoryBean = new ProcessEngineFactoryBean();
    factoryBean.setProcessEngineConfiguration(processEngineConfiguration());
    return factoryBean;
}
Also used : ProcessEngineFactoryBean(org.camunda.bpm.engine.spring.ProcessEngineFactoryBean) ProcessEngineFactoryBean(org.camunda.bpm.engine.spring.ProcessEngineFactoryBean) Bean(org.springframework.context.annotation.Bean)

Aggregations

ProcessEngineFactoryBean (org.camunda.bpm.engine.spring.ProcessEngineFactoryBean)2 Bean (org.springframework.context.annotation.Bean)2