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 Summary
Constructors Constructor Description PooledDatasourceFactoryBean(String routeKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()protected booleancanEqual(Object other)booleanequals(Object o)DataSourcegetDataSource()DataSourcegetDelegate()org.springframework.core.env.EnvironmentgetEnvironment()org.springframework.beans.factory.ObjectProvider<ConnectionSchemaInitializer>getInitializers()DataSourcegetObject()Class<? extends DataSource>getObjectType()JpaPropertyRelatedgetProperties()StringgetRouteKey()Class<com.zaxxer.hikari.HikariDataSource>getType()inthashCode()voidsetDataSource(DataSource dataSource)voidsetDelegate(DataSource delegate)voidsetEnvironment(org.springframework.core.env.Environment environment)voidsetInitializers(org.springframework.beans.factory.ObjectProvider<ConnectionSchemaInitializer> initializers)voidsetProperties(JpaPropertyRelated properties)voidsetType(Class<com.zaxxer.hikari.HikariDataSource> type)StringtoString()
-
-
-
Constructor Detail
-
PooledDatasourceFactoryBean
public PooledDatasourceFactoryBean(String routeKey)
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
getObject
public DataSource getObject()
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<DataSource>
-
getObjectType
public Class<? extends DataSource> getObjectType()
- Specified by:
getObjectTypein interfaceorg.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:
setEnvironmentin interfaceorg.springframework.context.EnvironmentAware
-
canEqual
protected boolean canEqual(Object other)
-
-