public class DefaultDatasourceConfiguration extends AbstractCamundaConfiguration implements CamundaDatasourceConfiguration
Modifier and Type | Field and Description |
---|---|
protected DataSource |
camundaDataSource |
protected DataSource |
dataSource |
protected org.springframework.transaction.PlatformTransactionManager |
transactionManager |
camundaBpmProperties, LOG, logger
beanName
Constructor and Description |
---|
DefaultDatasourceConfiguration() |
Modifier and Type | Method and Description |
---|---|
DataSource |
getCamundaDataSource() |
DataSource |
getDataSource() |
org.springframework.transaction.PlatformTransactionManager |
getTransactionManager() |
void |
preInit(SpringProcessEngineConfiguration configuration) |
void |
setCamundaDataSource(DataSource camundaDataSource) |
void |
setDataSource(DataSource dataSource) |
void |
setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) |
createToString, fail
postInit, postInit, postProcessEngineBuild, postProcessEngineBuild, preInit
setBeanName, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
postInit, postProcessEngineBuild, preInit
@Autowired protected org.springframework.transaction.PlatformTransactionManager transactionManager
@Autowired protected DataSource dataSource
@Autowired(required=false) @Qualifier(value="camundaBpmDataSource") protected DataSource camundaDataSource
public void preInit(SpringProcessEngineConfiguration configuration)
preInit
in class SpringBootProcessEnginePlugin
public org.springframework.transaction.PlatformTransactionManager getTransactionManager()
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
public DataSource getDataSource()
public void setDataSource(DataSource dataSource)
public DataSource getCamundaDataSource()
public void setCamundaDataSource(DataSource camundaDataSource)
Copyright © 2021. All rights reserved.