CICS® Transaction Gateway Programming Reference v1.1.0.0

com.ibm.connector2.cics
Class EPIConnectionFactory

java.lang.Object
  extended by com.ibm.connector2.cics.CICSConnectionFactory
      extended by com.ibm.connector2.cics.EPIConnectionFactory
All Implemented Interfaces:
java.io.Serializable, javax.naming.Referenceable, javax.resource.cci.ConnectionFactory

public final class EPIConnectionFactory
extends CICSConnectionFactory

Use an instance of this class to request EPI Connections.

An EPI connection is a connection to a CICS Terminal which you can interact with.

See Also:
Serialized Form

Constructor Summary
EPIConnectionFactory()
          Default constructor.
 
Method Summary
 javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec spec)
          This method returns a connection object.
 javax.resource.cci.ResourceAdapterMetaData getMetaData()
          Return the resource adapter meta data.
 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

EPIConnectionFactory

public EPIConnectionFactory()
Default constructor. This constructor cannot be used to create a valid EPIConnectionFactory. It is only used by runtime servers that wish to create a simple object to handle Referenceable usage.

Method Detail

getMetaData

public javax.resource.cci.ResourceAdapterMetaData getMetaData()
Return the resource adapter meta data.

Returns:
Resource adapter meta data.

getConnection

public javax.resource.cci.Connection getConnection(javax.resource.cci.ConnectionSpec spec)
                                            throws javax.resource.ResourceException
This method returns a connection object. This is an application's view of a connection to the CICS server via a terminal.

Parameters:
spec - An EPIConnectionSpec object or null
Returns:
A connection which represents a CICS terminal.
Throws:
javax.resource.ResourceException

toString

public java.lang.String toString()
Return a string representation of this class. This will return a string containing all the relevant property contents of this class.

Overrides:
toString in class CICSConnectionFactory
Returns:
String

©Copyright IBM Corp. 1994, 2014
Legal