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

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.

  • Field Details

  • 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

      public 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