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 javax.sql.DataSource
camundaDataSource
protected org.springframework.transaction.PlatformTransactionManager
camundaTransactionManager
protected javax.sql.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 javax.sql.DataSource
getCamundaDataSource()
org.springframework.transaction.PlatformTransactionManager
getCamundaTransactionManager()
javax.sql.DataSource
getDataSource()
org.springframework.transaction.PlatformTransactionManager
getTransactionManager()
void
preInit(SpringProcessEngineConfiguration configuration)
void
setCamundaDataSource(javax.sql.DataSource camundaDataSource)
void
setCamundaTransactionManager(org.springframework.transaction.PlatformTransactionManager camundaTransactionManager)
void
setDataSource(javax.sql.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 javax.sql.DataSource dataSource
-
camundaDataSource
@Autowired(required=false) @Qualifier("camundaBpmDataSource") protected javax.sql.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 javax.sql.DataSource getDataSource()
-
setDataSource
public void setDataSource(javax.sql.DataSource dataSource)
-
getCamundaDataSource
public javax.sql.DataSource getCamundaDataSource()
-
setCamundaDataSource
public void setCamundaDataSource(javax.sql.DataSource camundaDataSource)
-
-