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
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected boolean
boolean
getBean()
Class<? extends RoutableDataSource>
Class<?>[]
int
hashCode()
void
setBean
(RoutableDataSource bean) void
setDataSource
(DataSource dataSource) void
setRouteKey
(String routeKey) void
setSupportingClasses
(Class<?>[] supportingClasses) 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
-
RoutableDataSourceFactoryBean
public RoutableDataSourceFactoryBean()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
getObject
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<RoutableDataSource>
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<RoutableDataSource>
-
getDataSource
-
getSupportingClasses
-
getRouteKey
-
getBean
-
setDataSource
-
setSupportingClasses
-
setRouteKey
-
setBean
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-