org.springframework.boot.jta.bitronix

Class BitronixDependentBeanFactoryPostProcessor

  • java.lang.Object
    • org.springframework.boot.jta.bitronix.BitronixDependentBeanFactoryPostProcessor
  • All Implemented Interfaces:
    org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered

    Deprecated. 
    since 2.3.0 as the Bitronix project is no longer being maintained

    @Deprecated
    public class BitronixDependentBeanFactoryPostProcessor
    extends java.lang.Object
    implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered
    BeanFactoryPostProcessor to automatically register the recommended dependencies for correct Bitronix shutdown ordering. With Bitronix it appears that ConnectionFactory and DataSource beans must be shutdown before the TransactionManager.
    Since:
    1.2.0
    • Field Summary

      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method and Description
      int getOrder()
      Deprecated. 
       
      void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
      Deprecated. 
       
      void setOrder(int order)
      Deprecated. 
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BitronixDependentBeanFactoryPostProcessor

        public BitronixDependentBeanFactoryPostProcessor()
        Deprecated. 
    • Method Detail

      • postProcessBeanFactory

        public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
                                    throws org.springframework.beans.BeansException
        Deprecated. 
        Specified by:
        postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
        Throws:
        org.springframework.beans.BeansException
      • getOrder

        public int getOrder()
        Deprecated. 
        Specified by:
        getOrder in interface org.springframework.core.Ordered
      • setOrder

        public void setOrder(int order)
        Deprecated.