com.microfocus.cobol.connector.cci.CobolConnectionFactory
ConnectionFactory, Referenceable, Referenceable, Serializable
public class CobolConnectionFactory
extends Object
implements ConnectionFactory, Serializable, Referenceable
Method Summary | |
---|---|
Connection | getConnection()
Get a CobolConnection instance. |
Connection | getConnection(ConnectionSpec properties)
Get a CobolConnection instance |
ResourceAdapterMetaData | getMetaData()
Get an instance of Resource Adapter Meta Data. |
RecordFactory | getRecordFactory()
Get a Cobol Record factory |
Reference | getReference()
Get a reference for the Connection Factory |
void | setReference(Reference reference)
Set a reference for the Connection Factory |
public CobolConnectionFactory(ManagedConnectionFactory mcf, ConnectionManager cm)
Construct a connection factory.
mcf | The Managed Connection factory instance. |
cm | The connection Manager. This is implemented by the EJB container. |
public CobolConnectionFactory(ManagedConnectionFactory mcf)
Construct a connection factory.
mcf | The Managed Connection factory instance. |
public Connection getConnection() throws ResourceException
Get a CobolConnection instance.
public Connection getConnection(ConnectionSpec properties) throws ResourceException
Get a CobolConnection instance.
properties | The Connection Spec properties. |
public ResourceAdapterMetaData getMetaData() throws ResourceException
Get an instance of Resource Adapter Meta Data.
public RecordFactory getRecordFactory() throws ResourceException
Get a Cobol Record factory.
public void setReference(Reference reference) throws ResourceException
Set a reference for the Connection Factory.
reference |
public Reference getReference()
Get a reference for the Connection Factory