@ConditionalOnProperty(prefix="seata",
name="enabled",
havingValue="true",
matchIfMissing=true)
@AutoConfigureAfter(value=org.apache.seata.spring.boot.autoconfigure.SeataCoreAutoConfiguration.class)
public class SeataAutoConfiguration
extends Object
| Constructor and Description |
|---|
SeataAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.seata.tm.api.FailureHandler |
failureHandler() |
static org.apache.seata.spring.annotation.GlobalTransactionScanner |
globalTransactionScanner(SeataProperties seataProperties,
org.apache.seata.tm.api.FailureHandler failureHandler,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
List<org.apache.seata.spring.annotation.ScannerChecker> scannerCheckers) |
@Bean(value="failureHandler") @ConditionalOnMissingBean(value=org.apache.seata.tm.api.FailureHandler.class) public org.apache.seata.tm.api.FailureHandler failureHandler()
@Bean
@DependsOn(value={"springApplicationContextProvider","failureHandler"})
@ConditionalOnMissingBean(value=org.apache.seata.spring.annotation.GlobalTransactionScanner.class)
public static org.apache.seata.spring.annotation.GlobalTransactionScanner globalTransactionScanner(SeataProperties seataProperties,
org.apache.seata.tm.api.FailureHandler failureHandler,
org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory,
@Autowired(required=false)
List<org.apache.seata.spring.annotation.ScannerChecker> scannerCheckers)
Copyright © 2024 Apache. All rights reserved.