public class JndiDataSourceFactory extends Object implements DataSourceFactory
DSFACTORY_KEY, FACTORY_KEY| Constructor and Description |
|---|
JndiDataSourceFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Does nothing.
|
DataSource |
getDataSource() |
String |
getName() |
void |
initialize(JDBCDiskCacheAttributes config)
Initialize the factory.
|
public String getName()
getName in interface DataSourceFactorypublic DataSource getDataSource() throws SQLException
getDataSource in interface DataSourceFactoryDataSource configured by the factory.SQLException - if the source can't be returnedDataSourceFactory.getDataSource()public void initialize(JDBCDiskCacheAttributes config) throws SQLException
DataSourceFactoryinitialize in interface DataSourceFactoryconfig - the factory settingsSQLException - Any exceptions caught during processing will be
rethrown wrapped into a SQLException.DataSourceFactory.initialize(JDBCDiskCacheAttributes)public void close()
close in interface DataSourceFactoryCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.