Class DefaultDatasourceConfiguration
java.lang.Object
org.camunda.bpm.engine.impl.cfg.AbstractProcessEnginePlugin
org.camunda.bpm.engine.spring.SpringProcessEnginePlugin
org.camunda.bpm.spring.boot.starter.util.SpringBootProcessEnginePlugin
org.camunda.bpm.spring.boot.starter.configuration.impl.AbstractCamundaConfiguration
org.camunda.bpm.spring.boot.starter.configuration.impl.DefaultDatasourceConfiguration
- All Implemented Interfaces:
ProcessEnginePlugin
,CamundaDatasourceConfiguration
,CamundaProcessEngineConfiguration
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
public class DefaultDatasourceConfiguration
extends AbstractCamundaConfiguration
implements CamundaDatasourceConfiguration
-
Field Summary
Modifier and TypeFieldDescriptionprotected DataSource
protected org.springframework.transaction.PlatformTransactionManager
protected DataSource
protected org.springframework.transaction.PlatformTransactionManager
Fields inherited from class org.camunda.bpm.spring.boot.starter.configuration.impl.AbstractCamundaConfiguration
camundaBpmProperties, LOG, logger
Fields inherited from class org.camunda.bpm.engine.spring.SpringProcessEnginePlugin
beanName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.transaction.PlatformTransactionManager
org.springframework.transaction.PlatformTransactionManager
void
preInit
(SpringProcessEngineConfiguration configuration) void
setCamundaDataSource
(DataSource camundaDataSource) void
setCamundaTransactionManager
(org.springframework.transaction.PlatformTransactionManager camundaTransactionManager) void
setDataSource
(DataSource dataSource) void
setTransactionManager
(org.springframework.transaction.PlatformTransactionManager transactionManager) Methods inherited from class org.camunda.bpm.spring.boot.starter.configuration.impl.AbstractCamundaConfiguration
createToString, fail
Methods inherited from class org.camunda.bpm.spring.boot.starter.util.SpringBootProcessEnginePlugin
postInit, postInit, postProcessEngineBuild, postProcessEngineBuild, preInit
Methods inherited from class org.camunda.bpm.engine.spring.SpringProcessEnginePlugin
setBeanName, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.camunda.bpm.spring.boot.starter.configuration.CamundaProcessEngineConfiguration
postInit, postProcessEngineBuild, preInit
-
Field Details
-
transactionManager
@Autowired protected org.springframework.transaction.PlatformTransactionManager transactionManager -
camundaTransactionManager
@Autowired(required=false) @Qualifier("camundaBpmTransactionManager") protected org.springframework.transaction.PlatformTransactionManager camundaTransactionManager -
dataSource
-
camundaDataSource
@Autowired(required=false) @Qualifier("camundaBpmDataSource") protected DataSource camundaDataSource
-
-
Constructor Details
-
DefaultDatasourceConfiguration
public DefaultDatasourceConfiguration()
-
-
Method Details
-
preInit
- Overrides:
preInit
in classSpringBootProcessEnginePlugin
-
getTransactionManager
public org.springframework.transaction.PlatformTransactionManager getTransactionManager() -
setTransactionManager
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) -
getCamundaTransactionManager
public org.springframework.transaction.PlatformTransactionManager getCamundaTransactionManager() -
setCamundaTransactionManager
public void setCamundaTransactionManager(org.springframework.transaction.PlatformTransactionManager camundaTransactionManager) -
getDataSource
-
setDataSource
-
getCamundaDataSource
-
setCamundaDataSource
-