Package org.axonframework.spring.config
Class TransactionManagerFactoryBean
java.lang.Object
org.axonframework.spring.config.TransactionManagerFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<TransactionManager>
@Deprecated
public class TransactionManagerFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<TransactionManager>
Deprecated.
Use Spring Boot autoconfiguration or register the individual beans explicitly.
Factory Bean that wraps transaction manager instances with an implementation of
TransactionManager, if
necessary (and possible). This allows for transparent and interchangeable use of PlatformTransactionManager and
TransactionManager- Since:
- 2.0
- Author:
- Allard Buijze
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Class<?> Deprecated.booleanDeprecated.voidsetTransactionManager(Object transactionManager) Deprecated.Sets the actual transaction manager.
-
Constructor Details
-
TransactionManagerFactoryBean
public TransactionManagerFactoryBean()Deprecated.
-
-
Method Details
-
getObject
Deprecated.- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<TransactionManager>
-
getObjectType
Deprecated.- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<TransactionManager>
-
isSingleton
public boolean isSingleton()Deprecated.- Specified by:
isSingletonin interfaceorg.springframework.beans.factory.FactoryBean<TransactionManager>
-
setTransactionManager
Deprecated.Sets the actual transaction manager. If necessary (and possible) it will be wrapped with an implementation of TransactionManager.- Parameters:
transactionManager- The actual transaction manager
-