Class JpaDataRoutableDataSourceBeanRegistrar.RoutableDataSourceFactoryBean

java.lang.Object
com.broadleafcommerce.common.jpa.data.JpaDataRoutableDataSourceBeanRegistrar.RoutableDataSourceFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<RoutableDataSource>, org.springframework.beans.factory.InitializingBean
Enclosing class:
JpaDataRoutableDataSourceBeanRegistrar

public static class JpaDataRoutableDataSourceBeanRegistrar.RoutableDataSourceFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<RoutableDataSource>, org.springframework.beans.factory.InitializingBean
  • Constructor Details

    • RoutableDataSourceFactoryBean

      public RoutableDataSourceFactoryBean()
  • Method Details

    • afterPropertiesSet

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

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

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

      public DataSource getDataSource()
    • getSupportingClasses

      public Class<?>[] getSupportingClasses()
    • getRouteKey

      public String getRouteKey()
    • getBean

      public RoutableDataSource getBean()
    • setDataSource

      public void setDataSource(DataSource dataSource)
    • setSupportingClasses

      public void setSupportingClasses(Class<?>[] supportingClasses)
    • setRouteKey

      public void setRouteKey(String routeKey)
    • setBean

      public void setBean(RoutableDataSource bean)
    • 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