com.ibm.as400.access

Class SignonEvent

  • java.lang.Object
    • java.util.EventObject
      • com.ibm.as400.access.SignonEvent
  • All Implemented Interfaces:
    java.io.Serializable


    public final class SignonEvent
    extends java.util.EventObject
    An Event object generated by an AS400 instance during an attempt to sign-on to the system. SignonEvent objects are consumed by instances of SignonHandler. For all instances of SignonEvent, the getSource() method always returns the AS400 instance that originated the event.
    See Also:
    AS400.setSignonHandler(com.ibm.as400.access.SignonHandler), Serialized Form
    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      AS400SecurityException getException()
      Returns the exception that is associated with this event, if any.
      boolean hasException()
      Indicates whether this SignonEvent object has an associated exception.
      boolean isReconnecting()
      Indicates whether the system object was previously connected.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getException

        public AS400SecurityException getException()
        Returns the exception that is associated with this event, if any.
        Returns:
        The exception that is associated with this event, or null if no exception is associated with the event.
        See Also:
        hasException()
      • hasException

        public boolean hasException()
        Indicates whether this SignonEvent object has an associated exception. That is, indicates whether getException() will return non-null.
        Returns:
        true if there is an associated exception; false otherwise.
        See Also:
        getException()
      • isReconnecting

        public boolean isReconnecting()
        Indicates whether the system object was previously connected. That is, indicates whether this is a reconnection (for example, to an additional service) rather than an initial connection.
        Returns:
        true if the system object is already connected.