|
CICS® Transaction Gateway Programming Reference v1.1.0.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.connector2.cics.CICSConnectionFactory
com.ibm.connector2.cics.ECIConnectionFactory
public final class ECIConnectionFactory
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 Summary | |
---|---|
ECIConnectionFactory()
Default constructor. |
|
ECIConnectionFactory(javax.resource.spi.ConnectionManager cm,
ECIManagedConnectionFactory emcf)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.ibm.connector2.cics.CICSConnectionFactory |
---|
getConnection, getRecordFactory, getReference, setReference |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ECIConnectionFactory()
public ECIConnectionFactory(javax.resource.spi.ConnectionManager cm, ECIManagedConnectionFactory emcf)
Method Detail |
---|
public javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec spec) throws javax.resource.ResourceException
spec
- The ECIConnectionSpec containing the users security
credentials.
javax.resource.ResourceException
public javax.resource.cci.ResourceAdapterMetaData getMetaData()
public java.lang.String toString()
toString
in class CICSConnectionFactory
|
©Copyright IBM Corp. 1994, 2014 Legal |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |