com.ibm.connector2.cics

Class CICSConnectionSpec

  • java.lang.Object
    • com.ibm.connector2.cics.CICSConnectionSpec
  • All Implemented Interfaces:
    CICSLogTraceLevels, javax.resource.cci.ConnectionSpec
    Direct Known Subclasses:
    ECIConnectionSpec


    public abstract class CICSConnectionSpec
    extends java.lang.Object
    implements javax.resource.cci.ConnectionSpec, CICSLogTraceLevels
    Framework class for the connection spec.
    • Constructor Summary

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

      Methods 
      Modifier and Type Method and Description
      void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
      Adds a PropertyChangeListener.
      void firePropertyChange(java.lang.String strPropertyName, java.lang.Object oOld, java.lang.Object oNew)
      Fires a PropertyChangeEvent to any listeners.
      java.lang.String getPassword()
      Gets the password or password phrase for this connection spec.
      java.lang.String getUserName()
      Gets the username for this connection spec.
      void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
      Removes a PropertyChangeListener.
      void setPassword(java.lang.String newPass)
      Sets the password or password phrase for this connection spec.
      void setUserName(java.lang.String newUser)
      Sets the username for this connection spec.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CICSConnectionSpec

        public CICSConnectionSpec()
        Default constructor. Set properties using the setters. All properties will have initial values.

        Username will be null.
        Password will be null.

    • Method Detail

      • setUserName

        public void setUserName(java.lang.String newUser)
        Sets the username for this connection spec.
        Parameters:
        newUser - The new username.
      • getUserName

        public java.lang.String getUserName()
        Gets the username for this connection spec.
        Returns:
        The username.
      • setPassword

        public void setPassword(java.lang.String newPass)
        Sets the password or password phrase for this connection spec. 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

        public java.lang.String getPassword()
        Gets the password or password phrase for this connection spec.
        Returns:
        The password or password phrase.
      • addPropertyChangeListener

        public void addPropertyChangeListener(java.beans.PropertyChangeListener pcl)
        Adds a PropertyChangeListener.
        Parameters:
        pcl - java.beans.PropertyChangeListener.
      • removePropertyChangeListener

        public void removePropertyChangeListener(java.beans.PropertyChangeListener pcl)
        Removes a PropertyChangeListener.
        Parameters:
        pcl - java.beans.PropertyChangeListener.
      • firePropertyChange

        public void firePropertyChange(java.lang.String strPropertyName,
                              java.lang.Object oOld,
                              java.lang.Object oNew)
        Fires a PropertyChangeEvent to any listeners.
        Parameters:
        strPropertyName - java.lang.String.
        oOld - java.lang.Object.
        oNew - java.lang.Object.
©Copyright IBM Corp. 1994, 2012
Legal