Package com.ibm.jakarta.connector2.cics
Class CICSConnectionSpec
java.lang.Object
com.ibm.jakarta.connector2.cics.CICSConnectionSpec
- All Implemented Interfaces:
CICSLogTraceLevels
,jakarta.resource.cci.ConnectionSpec
- Direct Known Subclasses:
ECIConnectionSpec
,EPIConnectionSpec
public abstract class CICSConnectionSpec
extends Object
implements jakarta.resource.cci.ConnectionSpec, CICSLogTraceLevels
Framework class for the ConnectionSpec.
-
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 TypeMethodDescriptionvoid
Adds a PropertyChangeListener.void
firePropertyChange
(String strPropertyName, Object oOld, Object oNew) Fires a PropertyChangeEvent to any listeners.Gets the password or password phrase for this ConnectionSpec.Gets the username for this ConnectionSpec.void
Removes a PropertyChangeListener.void
setPassword
(String newPass) Sets the password or password phrase for this ConnectionSpec.void
setUserName
(String newUser) Sets the username for this ConnectionSpec.
-
Field Details
-
CLASS_VERSION
- See Also:
-
-
Constructor Details
-
CICSConnectionSpec
public CICSConnectionSpec()Default constructor. Set properties using the setters. All properties will have initial values, username and password are set to null.
-
-
Method Details
-
setUserName
Sets the username for this ConnectionSpec.- Parameters:
newUser
- The new username.
-
getUserName
Gets the username for this ConnectionSpec.- Returns:
- The username.
-
setPassword
Sets the password or password phrase for this ConnectionSpec. The maximum supported password or password phrase length varies by CICS server and communication protocol. Refer to your CICS server documentation for details.- Parameters:
newPass
- The new password or password phrase.
-
getPassword
Gets the password or password phrase for this ConnectionSpec.- Returns:
- The password or password phrase.
-
addPropertyChangeListener
Adds a PropertyChangeListener.- Parameters:
pcl
- java.beans.PropertyChangeListener.
-
removePropertyChangeListener
Removes a PropertyChangeListener.- Parameters:
pcl
- java.beans.PropertyChangeListener.
-
firePropertyChange
Fires a PropertyChangeEvent to any listeners.- Parameters:
strPropertyName
- java.lang.String.oOld
- java.lang.Object.oNew
- java.lang.Object.
-