Class 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 Detail

      • RoutableDataSourceFactoryBean

        public RoutableDataSourceFactoryBean()
    • Method Detail

      • afterPropertiesSet

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

        public DataSource getDataSource()
      • getSupportingClasses

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

        public String getRouteKey()
      • setDataSource

        public void setDataSource​(DataSource dataSource)
      • setSupportingClasses

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

        public void setRouteKey​(String routeKey)
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object