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.
public CobolConnectionFactory(ManagedConnectionFactory mcf)
Construct a connection factory.
public Connection getConnection() throws ResourceException
Get a CobolConnection instance.
public Connection getConnection(ConnectionSpec properties) throws ResourceException
Get a CobolConnection instance.
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.
public Reference getReference()
Get a reference for the Connection Factory