Class SpringConfiguration
java.lang.Object
org.camunda.community.bpmndt.api.cfg.SpringConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
@Configuration
public class SpringConfiguration
extends Object
implements org.springframework.beans.factory.InitializingBean
Spring test configuration, used as superclass for the generated configuration.
If data source and/or transaction manager are not provided by the application context, this configuration will initialize and provide them to the process engine configuration.
Moreover, if the application context provides a list of process engine plugins, this list will be preferred in favor of the process engine plugins that are configured on the Maven plugin execution - see parameter
If data source and/or transaction manager are not provided by the application context, this configuration will initialize and provide them to the process engine configuration.
Moreover, if the application context provides a list of process engine plugins, this list will be preferred in favor of the process engine plugins that are configured on the Maven plugin execution - see parameter
processEnginePlugins.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.camunda.bpm.engine.ProcessEngineprotected List<org.camunda.bpm.engine.impl.cfg.ProcessEnginePlugin> Returns a list of process engine plugins that are registered at the process engine.protected DataSourceprotected List<org.camunda.bpm.engine.impl.cfg.ProcessEnginePlugin> protected org.springframework.transaction.PlatformTransactionManagerinitTransactionManager(DataSource dataSource)
-
Constructor Details
-
SpringConfiguration
public SpringConfiguration()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
getProcessEngine
@Bean public org.camunda.bpm.engine.ProcessEngine getProcessEngine() -
getProcessEnginePlugins
Returns a list of process engine plugins that are registered at the process engine. The list may be empty, if there are no plugins to register. This method should be overridden by subclasses.- Returns:
- A list of process engine plugins.
-
initDataSource
-
initProcessEnginePlugins
-
initTransactionManager
protected org.springframework.transaction.PlatformTransactionManager initTransactionManager(DataSource dataSource)
-