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 anAS400
instance during an attempt to sign-on to the system. SignonEvent objects are consumed by instances ofSignonHandler
. For all instances of SignonEvent, thegetSource()
method always returns the AS400 instance that originated the event.
-
-
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.
-
-
-
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.
-
-