public class DefaultDatasourceConfiguration extends AbstractCamundaConfiguration implements CamundaDatasourceConfiguration
Modifier and Type | Field and Description |
---|---|
protected DataSource |
camundaDataSource |
protected org.springframework.transaction.PlatformTransactionManager |
camundaTransactionManager |
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() |
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) |
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(required=false) @Qualifier(value="camundaBpmTransactionManager") protected org.springframework.transaction.PlatformTransactionManager camundaTransactionManager
@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 org.springframework.transaction.PlatformTransactionManager getCamundaTransactionManager()
public void setCamundaTransactionManager(org.springframework.transaction.PlatformTransactionManager camundaTransactionManager)
public DataSource getDataSource()
public void setDataSource(DataSource dataSource)
public DataSource getCamundaDataSource()
public void setCamundaDataSource(DataSource camundaDataSource)
Copyright © 2022. All rights reserved.