Class JpaPooledDataSourceFactoryBeanRegistrar.PooledDatasourceFactoryBean

java.lang.Object
com.broadleafcommerce.common.jpa.data.entitymanager.JpaPooledDataSourceFactoryBeanRegistrar.PooledDatasourceFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.FactoryBean<DataSource>, org.springframework.beans.factory.InitializingBean, org.springframework.context.EnvironmentAware
Enclosing class:
JpaPooledDataSourceFactoryBeanRegistrar

public static class JpaPooledDataSourceFactoryBeanRegistrar.PooledDatasourceFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<DataSource>, org.springframework.beans.factory.InitializingBean, org.springframework.context.EnvironmentAware
  • Constructor Details

    • PooledDatasourceFactoryBean

      public PooledDatasourceFactoryBean(String routeKey)
  • Method Details

    • afterPropertiesSet

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

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

      public Class<? extends DataSource> getObjectType()
      Specified by:
      getObjectType in interface org.springframework.beans.factory.FactoryBean<DataSource>
    • getRouteKey

      public String getRouteKey()
    • getProperties

      @Nullable public JpaPropertyRelated getProperties()
    • getType

      public Class<com.zaxxer.hikari.HikariDataSource> getType()
    • getDelegate

      @Nullable public DataSource getDelegate()
    • getDataSource

      public DataSource getDataSource()
    • getInitializers

      @Nullable public org.springframework.beans.factory.ObjectProvider<ConnectionSchemaInitializer> getInitializers()
    • getEnvironment

      public org.springframework.core.env.Environment getEnvironment()
    • setProperties

      public void setProperties(@Nullable JpaPropertyRelated properties)
    • setType

      public void setType(Class<com.zaxxer.hikari.HikariDataSource> type)
    • setDelegate

      public void setDelegate(@Nullable DataSource delegate)
    • setDataSource

      public void setDataSource(DataSource dataSource)
    • setInitializers

      public void setInitializers(@Nullable org.springframework.beans.factory.ObjectProvider<ConnectionSchemaInitializer> initializers)
    • setEnvironment

      public void setEnvironment(org.springframework.core.env.Environment environment)
      Specified by:
      setEnvironment in interface org.springframework.context.EnvironmentAware
    • 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