Class JpaTransactionTemplateFactoryBeanRegistrar.TransactionTemplateFactoryBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.FactoryBean<org.springframework.transaction.support.TransactionTemplate>, org.springframework.beans.factory.InitializingBean
    Enclosing class:
    JpaTransactionTemplateFactoryBeanRegistrar

    public static class JpaTransactionTemplateFactoryBeanRegistrar.TransactionTemplateFactoryBean
    extends Object
    implements org.springframework.beans.factory.FactoryBean<org.springframework.transaction.support.TransactionTemplate>, org.springframework.beans.factory.InitializingBean
    • Constructor Detail

      • TransactionTemplateFactoryBean

        public TransactionTemplateFactoryBean()
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • getObject

        public org.springframework.transaction.support.TransactionTemplate getObject()
        Specified by:
        getObject in interface org.springframework.beans.factory.FactoryBean<org.springframework.transaction.support.TransactionTemplate>
      • getObjectType

        public Class<? extends org.springframework.transaction.support.TransactionTemplate> getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean<org.springframework.transaction.support.TransactionTemplate>
      • getTransactionManager

        public org.springframework.orm.jpa.JpaTransactionManager getTransactionManager()
      • getTemplate

        public org.springframework.transaction.support.TransactionTemplate getTemplate()
      • setTransactionManager

        public void setTransactionManager​(org.springframework.orm.jpa.JpaTransactionManager transactionManager)
      • setTemplate

        public void setTemplate​(org.springframework.transaction.support.TransactionTemplate template)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object