Class DataSourceFactory
- java.lang.Object
-
- ydocumentcartpackage.persistence.polyglot.repository.documentcart.cart.DataSourceFactory
-
- All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<javax.sql.DataSource>
public class DataSourceFactory extends java.lang.Object implements org.springframework.beans.factory.FactoryBean<javax.sql.DataSource>
-
-
Constructor Summary
Constructors Constructor Description DataSourceFactory(ConfigurationService configurationService)Deprecated, for removal: This API element is subject to removal in a future version.DataSourceFactory(ConfigurationService configurationService, com.codahale.metrics.MetricRegistry metricRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.sql.DataSourcegetObject()java.lang.Class<?>getObjectType()
-
-
-
Constructor Detail
-
DataSourceFactory
@Deprecated(since="2005", forRemoval=true) public DataSourceFactory(ConfigurationService configurationService)Deprecated, for removal: This API element is subject to removal in a future version.
-
DataSourceFactory
public DataSourceFactory(ConfigurationService configurationService, com.codahale.metrics.MetricRegistry metricRegistry)
-
-
Method Detail
-
getObject
public javax.sql.DataSource getObject() throws java.lang.Exception- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<javax.sql.DataSource>- Throws:
java.lang.Exception
-
getObjectType
public java.lang.Class<?> getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<javax.sql.DataSource>
-
-