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

    • DataRouteEntityManagerFactoryBean

      public DataRouteEntityManagerFactoryBean()
  • Method Details

    • afterPropertiesSet

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

      public jakarta.persistence.EntityManagerFactory getObject()
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<jakarta.persistence.EntityManagerFactory>
    • getVendorProperties

      protected Map<String,Object> getVendorProperties(DataSource dataSource)
    • getPackagesToScan

      protected String[] getPackagesToScan(org.springframework.beans.factory.ObjectProvider<JpaEntityScanBean> scans, com.broadleafcommerce.common.extension.data.DataRouteReference reference)
    • getMappingResources

      protected String[] getMappingResources()
    • getObjectType

      public Class<? extends jakarta.persistence.EntityManagerFactory> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<jakarta.persistence.EntityManagerFactory>
    • getFactoryBuilder

      public org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder getFactoryBuilder()
    • getScans

      public org.springframework.beans.factory.ObjectProvider<JpaEntityScanBean> getScans()
    • getRouteSource

      public RoutableDataSource getRouteSource()
    • getReference

      public com.broadleafcommerce.common.extension.data.DataRouteReference getReference()
    • getProperties

      @Nullable public JpaPropertyRelated 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

      public String getPackageFragment()
    • getRouteKey

      public String 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

      public void setScans(org.springframework.beans.factory.ObjectProvider<JpaEntityScanBean> scans)
    • setRouteSource

      public void setRouteSource(RoutableDataSource routeSource)
    • setReference

      public void setReference(com.broadleafcommerce.common.extension.data.DataRouteReference reference)
    • setProperties

      public void setProperties(@Nullable JpaPropertyRelated properties)
    • 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

      public void setPackageFragment(String packageFragment)
    • setRouteKey

      public void setRouteKey(String routeKey)
    • setFactoryBean

      public void setFactoryBean(org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean factoryBean)
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object