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
  • Constructor Details

    • TransactionManagerFactoryBean

      public TransactionManagerFactoryBean()
      Deprecated.
  • Method Details

    • getObject

      public TransactionManager getObject()
      Deprecated.
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<TransactionManager>
    • getObjectType

      public Class<?> getObjectType()
      Deprecated.
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<TransactionManager>
    • isSingleton

      public boolean isSingleton()
      Deprecated.
      Specified by:
      isSingleton in interface org.springframework.beans.factory.FactoryBean<TransactionManager>
    • setTransactionManager

      public void setTransactionManager(Object transactionManager)
      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