@Deprecated public class DbStateMachineConfig extends DefaultStateMachineConfig implements org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
DbStateMachineConfig()
Deprecated.
Instantiates a new Db state machine config.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
SagaTransactionalTemplate |
buildDefaultSagaTransactionalTemplate()
Deprecated.
|
void |
destroy()
Deprecated.
|
String |
getAccessKey()
Deprecated.
Gets access key.
|
String |
getApplicationId()
Deprecated.
Gets application id.
|
DataSource |
getDataSource()
Deprecated.
Gets data source.
|
String |
getDbType()
Deprecated.
Gets db type.
|
static String |
getDbTypeFromDataSource(DataSource dataSource)
Deprecated.
Gets db type from data source.
|
String |
getSecretKey()
Deprecated.
Gets secret key.
|
String |
getTablePrefix()
Deprecated.
Gets table prefix.
|
String |
getTxServiceGroup()
Deprecated.
Gets tx service group.
|
boolean |
isRmReportSuccessEnable()
Deprecated.
Is rm report success enable boolean.
|
boolean |
isSagaBranchRegisterEnable()
Deprecated.
Is saga branch register enable boolean.
|
void |
setAccessKey(String accessKey)
Deprecated.
Sets access key.
|
void |
setApplicationId(String applicationId)
Deprecated.
Sets application id.
|
void |
setDataSource(DataSource dataSource)
Deprecated.
Sets data source.
|
void |
setDbType(String dbType)
Deprecated.
Sets db type.
|
void |
setRmReportSuccessEnable(boolean rmReportSuccessEnable)
Deprecated.
Sets rm report success enable.
|
void |
setSagaBranchRegisterEnable(boolean sagaBranchRegisterEnable)
Deprecated.
Sets saga branch register enable.
|
void |
setSagaTransactionalTemplate(SagaTransactionalTemplate sagaTransactionalTemplate)
Deprecated.
Sets saga transactional template.
|
void |
setSecretKey(String secretKey)
Deprecated.
Sets secret key.
|
void |
setTablePrefix(String tablePrefix)
Deprecated.
Sets table prefix.
|
void |
setTxServiceGroup(String txServiceGroup)
Deprecated.
Sets tx service group.
|
getApplicationContext, getAsyncProcessCtrlEventPublisher, getCharset, getDefaultTenantId, getExpressionFactoryManager, getExpressionResolver, getProcessCtrlEventPublisher, getSagaJsonParser, getScriptEngineManager, getSeqGenerator, getServiceInvokerManager, getServiceInvokeTimeout, getStateLangStore, getStateLogRepository, getStateLogStore, getStateMachineRepository, getStatusDecisionStrategy, getThreadPoolExecutor, getTransOperationTimeout, isEnableAsync, isSagaCompensatePersistModeUpdate, isSagaRetryPersistModeUpdate, setApplicationContext, setAsyncProcessCtrlEventPublisher, setAutoRegisterResources, setCharset, setDefaultTenantId, setEnableAsync, setExpressionFactoryManager, setExpressionResolver, setResources, setSagaCompensatePersistModeUpdate, setSagaJsonParser, setSagaRetryPersistModeUpdate, setScriptEngineManager, setSeqGenerator, setServiceInvokerManager, setServiceInvokeTimeout, setStateLangStore, setStateLogRepository, setStateLogStore, setStateMachineRepository, setStatusDecisionStrategy, setSyncProcessCtrlEventPublisher, setThreadPoolExecutor, setTransOperationTimeout, unwrap, wrappublic DbStateMachineConfig()
public static String getDbTypeFromDataSource(DataSource dataSource) throws SQLException
dataSource - the data sourceSQLException - the sql exceptionpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class DefaultStateMachineConfigExceptionpublic SagaTransactionalTemplate buildDefaultSagaTransactionalTemplate()
public void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionpublic DataSource getDataSource()
public void setDataSource(DataSource dataSource)
dataSource - the data sourcepublic String getApplicationId()
public void setApplicationId(String applicationId)
applicationId - the application idpublic String getTxServiceGroup()
public void setTxServiceGroup(String txServiceGroup)
txServiceGroup - the tx service grouppublic String getAccessKey()
public void setAccessKey(String accessKey)
accessKey - the access keypublic String getSecretKey()
public void setSecretKey(String secretKey)
secretKey - the secret keypublic void setSagaTransactionalTemplate(SagaTransactionalTemplate sagaTransactionalTemplate)
sagaTransactionalTemplate - the saga transactional templatepublic String getTablePrefix()
public void setTablePrefix(String tablePrefix)
tablePrefix - the table prefixpublic String getDbType()
public void setDbType(String dbType)
dbType - the db typepublic boolean isRmReportSuccessEnable()
public boolean isSagaBranchRegisterEnable()
public void setRmReportSuccessEnable(boolean rmReportSuccessEnable)
rmReportSuccessEnable - the rm report success enablepublic void setSagaBranchRegisterEnable(boolean sagaBranchRegisterEnable)
sagaBranchRegisterEnable - the saga branch register enableCopyright © 2025 Apache. All rights reserved.