Class SeataSpringFenceAutoConfigurationImportFilter
java.lang.Object
com.alibaba.cloud.seata.autoconfigure.SeataSpringFenceAutoConfigurationImportFilter
- All Implemented Interfaces:
org.springframework.boot.autoconfigure.AutoConfigurationImportFilter
@Deprecated
public class SeataSpringFenceAutoConfigurationImportFilter
extends Object
implements org.springframework.boot.autoconfigure.AutoConfigurationImportFilter
Deprecated.
This is a temporary workaround. Will be removed after Seata releases a compatible version.
An
AutoConfigurationImportFilter that excludes the original
org.apache.seata.spring.boot.autoconfigure.SeataSpringFenceAutoConfiguration
from Seata's auto-configuration.
IMPORTANT: This is a temporary workaround class.
The original Seata class has compatibility issues with Spring Boot 4.x due to its use of
@AutoConfigureAfter annotation referencing class names that don't exist
in Spring Boot 4.x (e.g., TransactionAutoConfiguration moved to a different package).
This filter works in conjunction with ScaSeataSpringFenceAutoConfiguration
which provides the same functionality without the compatibility issues.
This class will be removed once Seata releases a new version that fixes the
compatibility issue with Spring Boot 4.x. At that time, the SCA Seata module will remove
this filter and ScaSeataSpringFenceAutoConfiguration.
- Author:
- uuuyuqi
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SeataSpringFenceAutoConfigurationImportFilter
public SeataSpringFenceAutoConfigurationImportFilter()Deprecated.
-
-
Method Details
-
match
public boolean[] match(String[] autoConfigurationClasses, org.springframework.boot.autoconfigure.AutoConfigurationMetadata autoConfigurationMetadata) Deprecated.- Specified by:
matchin interfaceorg.springframework.boot.autoconfigure.AutoConfigurationImportFilter
-