org.sourceforge.bdbadapter.cci
Class ConnectionFactoryImpl
java.lang.Object
|
+--org.sourceforge.bdbadapter.cci.ConnectionFactoryImpl
- All Implemented Interfaces:
- javax.resource.cci.ConnectionFactory, javax.resource.Referenceable, javax.naming.Referenceable, java.io.Serializable
- public class ConnectionFactoryImpl
- extends java.lang.Object
- implements javax.resource.cci.ConnectionFactory
- See Also:
- Serialized Form
Field Summary |
private javax.resource.spi.ConnectionManager |
cm
|
private javax.resource.spi.ManagedConnectionFactory |
mcf
|
private javax.naming.Reference |
reference
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
mcf
private javax.resource.spi.ManagedConnectionFactory mcf
cm
private javax.resource.spi.ConnectionManager cm
reference
private javax.naming.Reference reference
ConnectionFactoryImpl
public ConnectionFactoryImpl()
ConnectionFactoryImpl
public ConnectionFactoryImpl(javax.resource.spi.ManagedConnectionFactory mcf,
javax.resource.spi.ConnectionManager cm)
ConnectionFactoryImpl
public ConnectionFactoryImpl(javax.resource.spi.ManagedConnectionFactory mcf)
getConnection
public javax.resource.cci.Connection getConnection()
throws javax.resource.ResourceException
- Specified by:
getConnection
in interface javax.resource.cci.ConnectionFactory
getConnection
public javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec cs)
throws javax.resource.ResourceException
- Specified by:
getConnection
in interface javax.resource.cci.ConnectionFactory
getMetaData
public javax.resource.cci.ResourceAdapterMetaData getMetaData()
throws javax.resource.ResourceException
- Specified by:
getMetaData
in interface javax.resource.cci.ConnectionFactory
getRecordFactory
public javax.resource.cci.RecordFactory getRecordFactory()
throws javax.resource.ResourceException
- Specified by:
getRecordFactory
in interface javax.resource.cci.ConnectionFactory
setReference
public void setReference(javax.naming.Reference reference)
- Specified by:
setReference
in interface javax.resource.Referenceable
getReference
public javax.naming.Reference getReference()
- Specified by:
getReference
in interface javax.naming.Referenceable