|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microfocus.cobol.connector.cci.CobolConnectionFactory
This implementation class provides provides an interface for getting connection to a Cobol Server instance.
Constructor Summary | |
---|---|
CobolConnectionFactory(ManagedConnectionFactory mcf)
Construct a connection factory. |
|
CobolConnectionFactory(ManagedConnectionFactory mcf,
ConnectionManager cm)
Construct a connection factory. |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CobolConnectionFactory(ManagedConnectionFactory mcf, ConnectionManager cm)
mcf
- - The Managed Connection factory instance.cm
- - The connection Manager. This is implemented by the EJB
container.public CobolConnectionFactory(ManagedConnectionFactory mcf)
mcf
- - The Managed connection factory instance.Method Detail |
public Connection getConnection() throws ResourceException
getConnection
in interface ConnectionFactory
ResourceException
public Connection getConnection(ConnectionSpec properties) throws ResourceException
getConnection
in interface ConnectionFactory
properties
- - The Connection Spec properties.
ResourceException
public ResourceAdapterMetaData getMetaData() throws ResourceException
getMetaData
in interface ConnectionFactory
ResourceException
CobolResourceAdapterMetaData
public RecordFactory getRecordFactory() throws ResourceException
getRecordFactory
in interface ConnectionFactory
ResourceException
CobolRecordFactory
public void setReference(Reference reference)
setReference
in interface Referenceable
reference
- public Reference getReference()
getReference
in interface Referenceable
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2000 Micro Focus International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.