com.ibm.connector2.cics

Class 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.

    • Constructor Summary

      Constructors 
      Constructor and Description
      EPIConnectionFactory()
      Default constructor.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      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 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, 2013
Legal