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
Fields Modifier and Type Field Description protected DataSource
camundaDataSource
protected org.springframework.transaction.PlatformTransactionManager
camundaTransactionManager
protected DataSource
dataSource
protected org.springframework.transaction.PlatformTransactionManager
transactionManager
-
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
Constructors Constructor Description DefaultDatasourceConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSource
getCamundaDataSource()
org.springframework.transaction.PlatformTransactionManager
getCamundaTransactionManager()
DataSource
getDataSource()
org.springframework.transaction.PlatformTransactionManager
getTransactionManager()
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 Detail
-
transactionManager
@Autowired protected org.springframework.transaction.PlatformTransactionManager transactionManager
-
camundaTransactionManager
@Autowired(required=false) @Qualifier("camundaBpmTransactionManager") protected org.springframework.transaction.PlatformTransactionManager camundaTransactionManager
-
dataSource
@Autowired protected DataSource dataSource
-
camundaDataSource
@Autowired(required=false) @Qualifier("camundaBpmDataSource") protected DataSource camundaDataSource
-
-
Method Detail
-
preInit
public void preInit(SpringProcessEngineConfiguration configuration)
- 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
public DataSource getDataSource()
-
setDataSource
public void setDataSource(DataSource dataSource)
-
getCamundaDataSource
public DataSource getCamundaDataSource()
-
setCamundaDataSource
public void setCamundaDataSource(DataSource camundaDataSource)
-
-