@Deprecated public class PerUserPoolDataSourceFactory extends AbstractDataSourceFactory
CONNECTION_KEY, DEFAULT_CONNECTION_KEY, DEFAULT_POOL_KEY, DEFAULTS_KEY, POOL_KEY
DSFACTORY_KEY, FACTORY_KEY
Constructor and Description |
---|
PerUserPoolDataSourceFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
Closes the pool associated with this factory and releases it.
|
DataSource |
getDataSource()
Deprecated.
|
void |
initialize(org.apache.commons.configuration2.Configuration configuration)
Deprecated.
Initialize the factory.
|
applyConfiguration, initCPDS, initJdbc2Pool, setProperty
public DataSource getDataSource()
getDataSource
in interface DataSourceFactory
getDataSource
in class AbstractDataSourceFactory
DataSource
configured by the factory.DataSourceFactory.getDataSource()
public void initialize(org.apache.commons.configuration2.Configuration configuration) throws TorqueException
AbstractDataSourceFactory
initialize
in interface DataSourceFactory
initialize
in class AbstractDataSourceFactory
configuration
- where to load the factory settings fromTorqueException
- Any exceptions caught during processing will be
rethrown wrapped into a TorqueException.DataSourceFactory.initialize(org.apache.commons.configuration2.Configuration)
public void close() throws TorqueException
TorqueException
- if the pool cannot be closed properlyCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.