com.jbase.jremote.jca.cci
Class CCIJRemoteConnectionFactory
java.lang.Object
com.jbase.jremote.jca.cci.CCIJRemoteConnectionFactory
- All Implemented Interfaces:
- Serializable, Referenceable, javax.resource.cci.ConnectionFactory
public class CCIJRemoteConnectionFactory
- extends Object
- implements javax.resource.cci.ConnectionFactory
- See Also:
- Serialized Form
Field Summary |
protected javax.resource.cci.RecordFactory |
_recordFactory
|
Constructor Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_recordFactory
protected javax.resource.cci.RecordFactory _recordFactory
CCIJRemoteConnectionFactory
public CCIJRemoteConnectionFactory()
Construct a connection factory for use in a non managed environment using
the default connection manager.
- See Also:
DefaultConnectionManager
CCIJRemoteConnectionFactory
public CCIJRemoteConnectionFactory(javax.resource.spi.ManagedConnectionFactory mcf)
Construct a connection factory for use in a non managed environment using
the default connection manager.
- See Also:
DefaultConnectionManager
CCIJRemoteConnectionFactory
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.
getConnection
public javax.resource.cci.Connection getConnection()
throws javax.resource.ResourceException
- Specified by:
getConnection
in interface javax.resource.cci.ConnectionFactory
- Throws:
javax.resource.ResourceException
getConnection
public javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec cxSpec)
throws javax.resource.ResourceException
- Specified by:
getConnection
in interface javax.resource.cci.ConnectionFactory
- Throws:
javax.resource.ResourceException
getMetaData
public javax.resource.cci.ResourceAdapterMetaData getMetaData()
throws javax.resource.ResourceException
- Specified by:
getMetaData
in interface javax.resource.cci.ConnectionFactory
- Throws:
javax.resource.ResourceException
getRecordFactory
public javax.resource.cci.RecordFactory getRecordFactory()
throws javax.resource.ResourceException
- Specified by:
getRecordFactory
in interface javax.resource.cci.ConnectionFactory
- Throws:
javax.resource.ResourceException
setReference
public void setReference(Reference reference)
- See Also:
Referenceable.setReference(Reference)
getReference
public Reference getReference()
throws NamingException
- Specified by:
getReference
in interface Referenceable
- Throws:
NamingException
- See Also:
Referenceable.getReference()
Copyright © 2016 TEMENOS. All Rights Reserved.