Provides an interface for getting connection to a Cics Server instance.
All Implemented Interfaces
Serializable, javax.resource.Referenceable, javax.resource.cci.ConnectionFactory
Class Specifications
public class MFECIConnectionFactory
extends
Object
implements javax.resource.cci.ConnectionFactory,
Serializable, javax.resource.Referenceable
See Also:
Serialized Form
Constructor Summary
- MFECIConnectionFactory(javax.resource.spi.ManagedConnectionFactory mcf)
- Construct a connection factory.
-
MFECIConnectionFactory(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ManagedConnectionFactory javax.resource.spi.ConnectionManager cm)
- Construct a connection factory.
Methods
Method Summary
|
javax.resource.cci.Connection
|
getConnection()
Get an MFECI Connection instance.
|
javax.resource.cci.Connection
|
getConnection(ConnectionSpec properties)
Get an MFECI Connection instance.
|
javax.resource.cci.ResourceAdapterMetaData
|
getMetaData()
Get an instance of Resource Adapter Meta Data.
|
javax.resource.cci.RecordFactory
|
getRecordFactory()
Get an MFECI Record factory.
|
リファレンス
|
getReference()
Get a reference for the Connection Factory.
|
void
|
setReference(リファレンス reference)
Set a reference for the Connection Factory.
|
Constructor Detail
- MFECIConnectionFactory
-
public MFECIConnectionFactory(javax.resource.spi.ManagedConnectionFactory mcf)
Construct a connection factory.
- Parameters:
-
mcf
|
The Managed Connection factory instance.
|
- MFECIConnectionFactory
-
public MFECIConnectionFactory(javax.resource.spi.ManagedConnectionFactory mcf,
javax.resource.spi.ManagedConnectionFactory javax.resource.spi.ConnectionManager cm)
Construct a connection factory.
- Parameters:
-
mcf
|
The Managed Connection factory instance.
|
cm
|
The connection Manager. This is implemented by the EJB container.
|
Method Detail
- getConnection
-
public javax.resource.cciConnection getConnection()
throws javax.resource.ResourceException
Get an MFECI Connection instance.
- Specified by:
- getConnection in interface
javax.resource.cci.ConnectionFactory
- Returns:
- The MFECIConnection instance.
- Throws:
- javax.resource.ResourceException
- getConnection
-
public Connection getConnection(ConnectionSpec properties)
throws javax.resource.ResourceException
Get an MFECI Connection instance.
- Specified by:
- getConnection in interface javax.resource.cci.ConnectionFactory
- Parameters:
-
properties
|
The Connection Spec properties.
|
- Returns:
- The MFECIConnection instance.
- Throws:
- javax.resource.ResourceException
- getMetaData
-
public javax.resource.cci.ResourceAdapterMetaData getMetaData()
throws javax.resource.ResourceException
Get an instance of Resource Adapter Meta Data.
- Specified by:
- getMetadata in interface javax.resource.cci.ConnectionFactory
- Returns:
- MFECIResourceAdapterMetaData
- Throws:
- java.resource.ResourceException
- See Also:
-
MFECIResourceAdapterMetaData
- getRecordFactory
-
public javax.resource.cci.RecordFactory getRecordFactory()
throws java.resource.ResourceException
Get an MFECI Record factory.
- Specified by:
- getRecordFactory in interface javax.resource.cci.ConnectionFactory
- Returns:
- MFECIRecordFactory
- Throws:
- java.resource.ResourceException
- See Also:
- MFECIRecordFactory
- setReference
-
public void setReference(リファレンス reference)
throws ResourceException
Set a reference for the Connection Factory.
- Parameters:
-
- getReference
-
public リファレンス getReference()
Get a reference for the Connection Factory.
- Specified by:
-
getReference in interface
Referenceable