org.camunda.bpm.spring.boot.starter.util.CamundaSpringBootUtil Java Examples
The following examples show how to use
org.camunda.bpm.spring.boot.starter.util.CamundaSpringBootUtil.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CustomBpmConfig.java From wecube-platform with Apache License 2.0 | 5 votes |
@Bean @ConditionalOnMissingBean(ProcessEngineConfigurationImpl.class) public ProcessEngineConfigurationImpl processEngineConfigurationImpl( List<ProcessEnginePlugin> processEnginePlugins) { log.info("configure process engine configuration impl,class={}", CustomSpringProcessEngineConfiguration.class.getName()); final SpringProcessEngineConfiguration configuration = CamundaSpringBootUtil .initCustomFields(new CustomSpringProcessEngineConfiguration()); configuration.getProcessEnginePlugins().add(new CompositeProcessEnginePlugin(processEnginePlugins)); return configuration; }
Example #2
Source File: CamundaBpmConfiguration.java From camunda-bpm-spring-boot-starter with Apache License 2.0 | 5 votes |
@Bean @ConditionalOnMissingBean(ProcessEngineConfigurationImpl.class) public ProcessEngineConfigurationImpl processEngineConfigurationImpl(List<ProcessEnginePlugin> processEnginePlugins) { final SpringProcessEngineConfiguration configuration = CamundaSpringBootUtil.springProcessEngineConfiguration(); configuration.getProcessEnginePlugins().add(new CompositeProcessEnginePlugin(processEnginePlugins)); return configuration; }
Example #3
Source File: CamundaBpmConfiguration.java From camunda-bpm-platform with Apache License 2.0 | 5 votes |
@Bean @ConditionalOnMissingBean(ProcessEngineConfigurationImpl.class) public ProcessEngineConfigurationImpl processEngineConfigurationImpl(List<ProcessEnginePlugin> processEnginePlugins) { final SpringProcessEngineConfiguration configuration = CamundaSpringBootUtil.springProcessEngineConfiguration(); configuration.getProcessEnginePlugins().add(new CompositeProcessEnginePlugin(processEnginePlugins)); return configuration; }
Example #4
Source File: PrefixedUuidGeneratorIT.java From camunda-bpm-spring-boot-starter with Apache License 2.0 | 4 votes |
@Test public void configured_idGenerator_is_uuid() throws Exception { final IdGenerator idGenerator = CamundaSpringBootUtil.get(processEngine).getIdGenerator(); assertThat(idGenerator).isOfAnyClassIn(PrefixedUuidGenerator.class); }
Example #5
Source File: PrefixedUuidGeneratorIT.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
@Test public void configured_idGenerator_is_uuid() throws Exception { final IdGenerator idGenerator = CamundaSpringBootUtil.get(processEngine).getIdGenerator(); assertThat(idGenerator).isOfAnyClassIn(PrefixedUuidGenerator.class); }