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
-
-
Constructor Summary
Constructors Constructor and Description InteractionSpecImpl()
-
Method Summary
Methods Modifier and Type Method and Description boolean
equals(java.lang.Object thatObject)
Equality checkjava.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 testsvoid
setOtmaRequestTimeout(int timeout)
Sets the OTMA request timeout, in seconds.void
setServiceName(java.lang.String serviceName)
Sets the service name to connect to.
-
-
-
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 classjava.lang.Object
-
equals
public boolean equals(java.lang.Object thatObject)
Equality check- Overrides:
equals
in classjava.lang.Object
-
-