public class ReferenceableDataSourceSpy extends net.sf.log4jdbc.sql.jdbcapi.DataSourceSpy implements Referenceable
| Constructor and Description |
|---|
ReferenceableDataSourceSpy(DataSource realDataSource,
String dataSourceId) |
ReferenceableDataSourceSpy(String dataSourceId) |
| Modifier and Type | Method and Description |
|---|---|
DataSource |
getDataSource() |
Logger |
getParentLogger() |
Reference |
getReference() |
public ReferenceableDataSourceSpy(String dataSourceId)
public ReferenceableDataSourceSpy(DataSource realDataSource, String dataSourceId)
public DataSource getDataSource()
public Reference getReference() throws NamingException
getReference in interface ReferenceableNamingExceptionpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger in interface CommonDataSourceSQLFeatureNotSupportedExceptionCopyright © 2010-2017. All Rights Reserved.