Class ReferenceableDataSourceSpy
- java.lang.Object
-
- net.sf.log4jdbc.sql.jdbcapi.DataSourceSpy
-
- org.killbill.billing.platform.jndi.ReferenceableDataSourceSpy
-
- All Implemented Interfaces:
Wrapper,Referenceable,CommonDataSource,DataSource,net.sf.log4jdbc.sql.Spy
public class ReferenceableDataSourceSpy extends net.sf.log4jdbc.sql.jdbcapi.DataSourceSpy implements Referenceable
-
-
Constructor Summary
Constructors Constructor Description ReferenceableDataSourceSpy(String dataSourceId)ReferenceableDataSourceSpy(DataSource realDataSource, String dataSourceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataSourcegetDataSource()LoggergetParentLogger()ReferencegetReference()-
Methods inherited from class net.sf.log4jdbc.sql.jdbcapi.DataSourceSpy
getClassType, getConnection, getConnection, getConnectionNumber, getLogDelegator, getLoginTimeout, getLogWriter, isWrapperFor, reportException, setLogDelegator, setLoginTimeout, setLogWriter, unwrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder
-
Methods inherited from interface javax.sql.DataSource
createConnectionBuilder
-
-
-
-
Constructor Detail
-
ReferenceableDataSourceSpy
public ReferenceableDataSourceSpy(String dataSourceId)
-
ReferenceableDataSourceSpy
public ReferenceableDataSourceSpy(DataSource realDataSource, String dataSourceId)
-
-
Method Detail
-
getDataSource
public DataSource getDataSource()
-
getReference
public Reference getReference() throws NamingException
- Specified by:
getReferencein interfaceReferenceable- Throws:
NamingException
-
getParentLogger
public Logger getParentLogger() throws SQLFeatureNotSupportedException
- Specified by:
getParentLoggerin interfaceCommonDataSource- Throws:
SQLFeatureNotSupportedException
-
-