Package com.ibm.jakarta.connector2.cics
Class EPIConnectionSpec
java.lang.Object
com.ibm.jakarta.connector2.cics.CICSConnectionSpec
com.ibm.jakarta.connector2.cics.EPIConnectionSpec
- All Implemented Interfaces:
CICSLogTraceLevels
,jakarta.resource.cci.ConnectionSpec
The EPI connection spec allows you to specify extra or different properties
on the connection you require.
The properties that can be set are as follows:
- userid
- The username for the terminal.
- password
- The password for the username.
- devtype
- The device type of the terminal.
- netName
- The terminal netname.
- See Also:
-
Field Summary
FieldsFields inherited from interface com.ibm.jakarta.connector2.cics.CICSLogTraceLevels
RAS_TRACE_ENTRY_EXIT, RAS_TRACE_ERROR_EXCEPTION, RAS_TRACE_INTERNAL, RAS_TRACE_OFF
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the device type for this object.Return the net name for this object.void
setDeviceType
(String newDev) Set the device type required.void
setNetName
(String newNet) Set the net name required.toString()
Returns a string representation of this instance, in this case it lists the contents of the properties.Methods inherited from class com.ibm.jakarta.connector2.cics.CICSConnectionSpec
addPropertyChangeListener, firePropertyChange, getPassword, getUserName, removePropertyChangeListener, setPassword, setUserName
-
Field Details
-
CLASS_VERSION
- See Also:
-
-
Constructor Details
-
EPIConnectionSpec
public EPIConnectionSpec()Default constructor. Properties need to be set by setters. Defaults are applied as follows:deviceType is null
netName is null
-
-
Method Details
-
setDeviceType
Set the device type required.- Parameters:
newDev
- The device type defined on the CICS server.
-
getDeviceType
Return the device type for this object.- Returns:
- The device type.
-
setNetName
Set the net name required.- Parameters:
newNet
- The net name.
-
getNetName
Return the net name for this object.- Returns:
- The net name.
-
toString
Returns a string representation of this instance, in this case it lists the contents of the properties.
-