Class JpaTransactionManagerFactoryBeanRegistrar.TransactionManagerFactoryBean
java.lang.Object
com.broadleafcommerce.common.jpa.data.entitymanager.JpaTransactionManagerFactoryBeanRegistrar.TransactionManagerFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.FactoryBean<org.springframework.orm.jpa.JpaTransactionManager>
,org.springframework.beans.factory.InitializingBean
- Enclosing class:
- JpaTransactionManagerFactoryBeanRegistrar
public static class JpaTransactionManagerFactoryBeanRegistrar.TransactionManagerFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<org.springframework.orm.jpa.JpaTransactionManager>, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected boolean
boolean
org.springframework.beans.factory.BeanFactory
jakarta.persistence.EntityManagerFactory
getEmf()
org.springframework.orm.jpa.JpaTransactionManager
Class<? extends org.springframework.orm.jpa.JpaTransactionManager>
org.springframework.orm.jpa.JpaTransactionManager
org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers>
int
hashCode()
void
setBeanFactory
(org.springframework.beans.factory.BeanFactory beanFactory) void
setEmf
(jakarta.persistence.EntityManagerFactory emf) void
setRouteKey
(String routeKey) void
setTransactionManager
(org.springframework.orm.jpa.JpaTransactionManager transactionManager) void
setTransactionManagerCustomizers
(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers> transactionManagerCustomizers) toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
TransactionManagerFactoryBean
public TransactionManagerFactoryBean()
-
-
Method Details
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException - Specified by:
setBeanFactory
in interfaceorg.springframework.beans.factory.BeanFactoryAware
- Throws:
org.springframework.beans.BeansException
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
Exception
-
getObject
public org.springframework.orm.jpa.JpaTransactionManager getObject()- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.orm.jpa.JpaTransactionManager>
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<org.springframework.orm.jpa.JpaTransactionManager>
-
getTransactionManagerCustomizers
public org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers> getTransactionManagerCustomizers() -
getBeanFactory
public org.springframework.beans.factory.BeanFactory getBeanFactory() -
getRouteKey
-
getTransactionManager
public org.springframework.orm.jpa.JpaTransactionManager getTransactionManager() -
getEmf
public jakarta.persistence.EntityManagerFactory getEmf() -
setTransactionManagerCustomizers
public void setTransactionManagerCustomizers(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizers> transactionManagerCustomizers) -
setRouteKey
-
setTransactionManager
public void setTransactionManager(org.springframework.orm.jpa.JpaTransactionManager transactionManager) -
setEmf
public void setEmf(jakarta.persistence.EntityManagerFactory emf) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-