public final class ECIConnectionFactory extends CICSConnectionFactory
The ECIConnectionFactory allows a client component to request a connection to CICS. The getConnection() method is used to return an ECIConnection object that represents a handle to the underlying connection to CICS.
Note:In the ECI connector, the timeout property on the ECIConnectionFactory is meaningless. Any access to the set/getTimeout() methods will not result in an exception but neither will it affect the getConnection() call.
Constructor and Description |
---|
ECIConnectionFactory()
Default constructor.
|
ECIConnectionFactory(javax.resource.spi.ConnectionManager cm,
ECIManagedConnectionFactory emcf)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
javax.resource.cci.Connection |
getConnection(javax.resource.cci.ConnectionSpec spec)
This is the extended version of getConnection() which allows
the user to pass an ECIConnectionSpec parameter containing their
user credentials.
|
javax.resource.cci.ResourceAdapterMetaData |
getMetaData()
Returns information about the resource adapter.
|
java.lang.String |
toString()
Return a String representation of this class.
|
getConnection, getRecordFactory, getReference, setReference
public ECIConnectionFactory()
public ECIConnectionFactory(javax.resource.spi.ConnectionManager cm, ECIManagedConnectionFactory emcf)
public javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec spec) throws javax.resource.ResourceException
spec
- The ECIConnectionSpec containing the user's security
credentials.javax.resource.ResourceException
public javax.resource.cci.ResourceAdapterMetaData getMetaData()
public java.lang.String toString()
toString
in class CICSConnectionFactory