com.ibm.websphere.ola

Class InteractionSpecImpl

  • java.lang.Object
    • com.ibm.websphere.ola.InteractionSpecImpl
  • All Implemented Interfaces:
    java.io.Serializable, javax.resource.cci.InteractionSpec


    public class InteractionSpecImpl
    extends java.lang.Object
    implements javax.resource.cci.InteractionSpec
    This class defines the methods necessary to interact with a service being hosted by an external address space or CICS region.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from interface javax.resource.cci.InteractionSpec

        SYNC_RECEIVE, SYNC_SEND, SYNC_SEND_RECEIVE
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object thatObject)
      Equality check
      java.lang.Integer getOtmaRequestTimeout()
      Gets the OTMA request timeout, in seconds.
      java.lang.String getServiceName()
      Gets the service name to connect to.
      int hashCode()
      Hash code for equality tests
      void setOtmaRequestTimeout(int timeout)
      Sets the OTMA request timeout, in seconds.
      void setServiceName(java.lang.String serviceName)
      Sets the service name to connect to.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InteractionSpecImpl

        public InteractionSpecImpl()
    • Method Detail

      • setServiceName

        public void setServiceName(java.lang.String serviceName)
        Sets the service name to connect to.
        Parameters:
        serviceName - The name of the service to connect to.
      • getServiceName

        public java.lang.String getServiceName()
        Gets the service name to connect to.
        Returns:
        The name of the service to connect to.
      • setOtmaRequestTimeout

        public void setOtmaRequestTimeout(int timeout)
        Sets the OTMA request timeout, in seconds. A value of zero will disable the OTMA request timer.
        Throws:
        java.lang.IllegalArgumentException - Thrown if the timeout value is negative.
      • getOtmaRequestTimeout

        public java.lang.Integer getOtmaRequestTimeout()
        Gets the OTMA request timeout, in seconds.
        Returns:
        The OTMA request timeout, in seconds, or null if the OTMA request timeout was not set for this interaction.
      • hashCode

        public int hashCode()
        Hash code for equality tests
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals(java.lang.Object thatObject)
        Equality check
        Overrides:
        equals in class java.lang.Object
IBM WebSphere Application ServerTM
Release 9.0