Package com.ibm.jakarta.connector2.cics
Class EPIConnectionFactory
java.lang.Object
com.ibm.jakarta.connector2.cics.CICSConnectionFactory
com.ibm.jakarta.connector2.cics.EPIConnectionFactory
- All Implemented Interfaces:
jakarta.resource.cci.ConnectionFactory
,jakarta.resource.Referenceable
,Serializable
,Referenceable
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.resource.cci.Connection
getConnection
(jakarta.resource.cci.ConnectionSpec spec) This method returns a connection object.jakarta.resource.cci.ResourceAdapterMetaData
Return the resource adapter meta data.toString()
Return a string representation of this class.Methods inherited from class com.ibm.jakarta.connector2.cics.CICSConnectionFactory
getConnection, getRecordFactory, getReference, setReference
-
Field Details
-
CLASS_VERSION
- See Also:
-
-
Constructor Details
-
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 Details
-
getMetaData
public jakarta.resource.cci.ResourceAdapterMetaData getMetaData()Return the resource adapter meta data.- Returns:
- Resource adapter meta data.
-
getConnection
public jakarta.resource.cci.Connection getConnection(jakarta.resource.cci.ConnectionSpec spec) throws jakarta.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:
jakarta.resource.ResourceException
-
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 classCICSConnectionFactory
- Returns:
- String
-