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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected booleanbooleangetBean()Class<? extends RoutableDataSource>Class<?>[]inthashCode()voidsetBean(RoutableDataSource bean) voidsetDataSource(DataSource dataSource) voidsetRouteKey(String routeKey) voidsetSupportingClasses(Class<?>[] supportingClasses) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
RoutableDataSourceFactoryBean
public RoutableDataSourceFactoryBean()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
getObject
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<RoutableDataSource>
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<RoutableDataSource>
-
getDataSource
-
getSupportingClasses
-
getRouteKey
-
getBean
-
setDataSource
-
setSupportingClasses
-
setRouteKey
-
setBean
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-