Class TransactionManagerCustomizers
java.lang.Object
org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers
A collection of
TransactionManagerCustomizers
.- Since:
- 1.5.0
- Author:
- Phillip Webb, Andy Wilkinson
-
Constructor Summary
ConstructorDescriptionTransactionManagerCustomizers
(Collection<? extends PlatformTransactionManagerCustomizer<?>> customizers) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
customize
(PlatformTransactionManager platformTransactionManager) Deprecated, for removal: This API element is subject to removal in a future version.since 3.2.0 for removal in 3.4.0 in favor ofcustomize(TransactionManager)
void
customize
(TransactionManager transactionManager) Customize the giventransactionManager
.of
(Collection<? extends TransactionManagerCustomizer<?>> customizers) Returns a newTransactionManagerCustomizers
instance containing the givencustomizers
.
-
Constructor Details
-
TransactionManagerCustomizers
@Deprecated(since="3.2.0", forRemoval=true) public TransactionManagerCustomizers(Collection<? extends PlatformTransactionManagerCustomizer<?>> customizers) Deprecated, for removal: This API element is subject to removal in a future version.since 3.2.0 for removal in 3.4.0 in favor ofof(Collection)
Creates a newTransactionManagerCustomizers
instance containing the givencustomizers
.- Parameters:
customizers
- the customizers
-
-
Method Details
-
customize
@Deprecated(since="3.2.0", forRemoval=true) public void customize(PlatformTransactionManager platformTransactionManager) Deprecated, for removal: This API element is subject to removal in a future version.since 3.2.0 for removal in 3.4.0 in favor ofcustomize(TransactionManager)
Customize the givenplatformTransactionManager
.- Parameters:
platformTransactionManager
- the platform transaction manager to customize
-
customize
Customize the giventransactionManager
.- Parameters:
transactionManager
- the transaction manager to customize- Since:
- 3.2.0
-
of
public static TransactionManagerCustomizers of(Collection<? extends TransactionManagerCustomizer<?>> customizers) Returns a newTransactionManagerCustomizers
instance containing the givencustomizers
.- Parameters:
customizers
- the customizers- Returns:
- the new instance
- Since:
- 3.2.0
-
of(Collection)