public class CCIJRemoteConnectionFactory
extends java.lang.Object
implements javax.resource.cci.ConnectionFactory
Modifier and Type | Field and Description |
---|---|
protected javax.resource.cci.RecordFactory |
_recordFactory |
Constructor and Description |
---|
CCIJRemoteConnectionFactory()
Construct a connection factory for use in a non managed environment using
the default connection manager.
|
CCIJRemoteConnectionFactory(javax.resource.spi.ManagedConnectionFactory mcf)
Construct a connection factory for use in a non managed environment using
the default connection manager.
|
CCIJRemoteConnectionFactory(javax.resource.spi.ManagedConnectionFactory mcf,
javax.resource.spi.ConnectionManager cm)
Constructor for managed connection factory.
|
Modifier and Type | Method and Description |
---|---|
javax.resource.cci.Connection |
getConnection() |
javax.resource.cci.Connection |
getConnection(javax.resource.cci.ConnectionSpec cxSpec) |
javax.resource.cci.ResourceAdapterMetaData |
getMetaData() |
javax.resource.cci.RecordFactory |
getRecordFactory() |
javax.naming.Reference |
getReference() |
void |
setReference(javax.naming.Reference reference) |
public CCIJRemoteConnectionFactory()
Construct a connection factory for use in a non managed environment using the default connection manager.
DefaultConnectionManager
public CCIJRemoteConnectionFactory(javax.resource.spi.ManagedConnectionFactory mcf)
Construct a connection factory for use in a non managed environment using the default connection manager.
DefaultConnectionManager
public CCIJRemoteConnectionFactory(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionManager cm)
Constructor for managed connection factory. The application server will use this constructor and supply a configured ManagedConnectionFactory and ConnectionManager. This class will hook into the application server connection pool via the supplied ConnectionManager.
public javax.resource.cci.Connection getConnection() throws javax.resource.ResourceException
getConnection
in interface javax.resource.cci.ConnectionFactory
javax.resource.ResourceException
public javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec cxSpec) throws javax.resource.ResourceException
getConnection
in interface javax.resource.cci.ConnectionFactory
javax.resource.ResourceException
public javax.resource.cci.ResourceAdapterMetaData getMetaData() throws javax.resource.ResourceException
getMetaData
in interface javax.resource.cci.ConnectionFactory
javax.resource.ResourceException
public javax.resource.cci.RecordFactory getRecordFactory() throws javax.resource.ResourceException
getRecordFactory
in interface javax.resource.cci.ConnectionFactory
javax.resource.ResourceException
public void setReference(javax.naming.Reference reference)
Referenceable.setReference(Reference)
public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
javax.naming.NamingException
Referenceable.getReference()