Class JpaDataRouteEntityManagerFactoryBeanRegistrar.DataRouteEntityManagerFactoryBean
java.lang.Object
com.broadleafcommerce.common.jpa.data.entitymanager.JpaDataRouteEntityManagerFactoryBeanRegistrar.DataRouteEntityManagerFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.FactoryBean<jakarta.persistence.EntityManagerFactory>
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
- Enclosing class:
- JpaDataRouteEntityManagerFactoryBeanRegistrar
public static class JpaDataRouteEntityManagerFactoryBeanRegistrar.DataRouteEntityManagerFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<jakarta.persistence.EntityManagerFactory>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
-
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.context.ApplicationContext
org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder
org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.orm.jpa.HibernatePropertiesCustomizer>
org.springframework.boot.autoconfigure.orm.jpa.HibernateProperties
protected String[]
jakarta.persistence.EntityManagerFactory
Class<? extends jakarta.persistence.EntityManagerFactory>
protected String[]
getPackagesToScan
(org.springframework.beans.factory.ObjectProvider<JpaEntityScanBean> scans, com.broadleafcommerce.common.extension.data.DataRouteReference reference) org.springframework.beans.factory.ObjectProvider<org.springframework.boot.jdbc.SchemaManagementProvider>
com.broadleafcommerce.common.extension.data.DataRouteReference
org.springframework.boot.autoconfigure.jdbc.DataSourceProperties
org.springframework.boot.autoconfigure.orm.jpa.JpaProperties
org.springframework.beans.factory.ObjectProvider<JpaEntityScanBean>
getScans()
getVendorProperties
(DataSource dataSource) int
hashCode()
void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
setFactoryBean
(org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean factoryBean) void
setFactoryBuilder
(org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder factoryBuilder) void
setHibernatePropertiesCustomizers
(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.orm.jpa.HibernatePropertiesCustomizer> hibernatePropertiesCustomizers) void
setHProperties
(org.springframework.boot.autoconfigure.orm.jpa.HibernateProperties hProperties) void
setPackageFragment
(String packageFragment) void
setProperties
(JpaPropertyRelated properties) void
setProviders
(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.jdbc.SchemaManagementProvider> providers) void
setReference
(com.broadleafcommerce.common.extension.data.DataRouteReference reference) void
setRootDSProperties
(org.springframework.boot.autoconfigure.jdbc.DataSourceProperties rootDSProperties) void
setRootProperties
(org.springframework.boot.autoconfigure.orm.jpa.JpaProperties rootProperties) void
setRouteKey
(String routeKey) void
setRouteSource
(RoutableDataSource routeSource) void
setScans
(org.springframework.beans.factory.ObjectProvider<JpaEntityScanBean> scans) 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
-
DataRouteEntityManagerFactoryBean
public DataRouteEntityManagerFactoryBean()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
getObject
public jakarta.persistence.EntityManagerFactory getObject()- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<jakarta.persistence.EntityManagerFactory>
-
getVendorProperties
-
getPackagesToScan
protected String[] getPackagesToScan(org.springframework.beans.factory.ObjectProvider<JpaEntityScanBean> scans, com.broadleafcommerce.common.extension.data.DataRouteReference reference) -
getMappingResources
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<jakarta.persistence.EntityManagerFactory>
-
getFactoryBuilder
public org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder getFactoryBuilder() -
getScans
-
getRouteSource
-
getReference
public com.broadleafcommerce.common.extension.data.DataRouteReference getReference() -
getProperties
-
getRootProperties
@Nullable public org.springframework.boot.autoconfigure.orm.jpa.JpaProperties getRootProperties() -
getHProperties
@Nullable public org.springframework.boot.autoconfigure.orm.jpa.HibernateProperties getHProperties() -
getRootDSProperties
public org.springframework.boot.autoconfigure.jdbc.DataSourceProperties getRootDSProperties() -
getProviders
public org.springframework.beans.factory.ObjectProvider<org.springframework.boot.jdbc.SchemaManagementProvider> getProviders() -
getHibernatePropertiesCustomizers
public org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.orm.jpa.HibernatePropertiesCustomizer> getHibernatePropertiesCustomizers() -
getPackageFragment
-
getRouteKey
-
getFactoryBean
public org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean getFactoryBean() -
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext() -
setFactoryBuilder
public void setFactoryBuilder(org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder factoryBuilder) -
setScans
-
setRouteSource
-
setReference
public void setReference(com.broadleafcommerce.common.extension.data.DataRouteReference reference) -
setProperties
-
setRootProperties
public void setRootProperties(@Nullable org.springframework.boot.autoconfigure.orm.jpa.JpaProperties rootProperties) -
setHProperties
public void setHProperties(@Nullable org.springframework.boot.autoconfigure.orm.jpa.HibernateProperties hProperties) -
setRootDSProperties
public void setRootDSProperties(org.springframework.boot.autoconfigure.jdbc.DataSourceProperties rootDSProperties) -
setProviders
public void setProviders(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.jdbc.SchemaManagementProvider> providers) -
setHibernatePropertiesCustomizers
public void setHibernatePropertiesCustomizers(org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.orm.jpa.HibernatePropertiesCustomizer> hibernatePropertiesCustomizers) -
setPackageFragment
-
setRouteKey
-
setFactoryBean
public void setFactoryBean(org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean factoryBean) -
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-