UserSessionListener#userSessionActivated(UserSessionEvent), UserSessionListener#userSessionDeactivated(UserSessionEvent)
| Modifier and Type | Class and Description |
|---|---|
| public static enum | UserSessionEvent.
Kinds of available reasons of user session change. |
| Modifier and Type | Field and Description |
|---|---|
| private final UserSessionEvent. | |
| private static final long | serialVersionUID
Use serialVersionUID from JDK 9 for interoperability.
|
| Access | Constructor and Description |
|---|---|
| public | UserSessionEvent(UserSessionEvent.
the reason of the user session change reasonConstructs a |
| Modifier and Type | Method and Description |
|---|---|
| public UserSessionEvent. |
| reason | back to summary |
|---|---|
| private final UserSessionEvent. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. Use serialVersionUID from JDK 9 for interoperability. | |
| UserSessionEvent | back to summary |
|---|---|
| public UserSessionEvent(UserSessionEvent. Constructs a
| |
| getReason | back to summary |
|---|---|
| public UserSessionEvent. Gets a reason of the user session change.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final UserSessionEvent. | CONSOLE
The session was connected/disconnected to the console terminal. |
| public static final UserSessionEvent. | LOCK
The session has been locked/unlocked. |
| public static final UserSessionEvent. | REMOTE
The session was connected/disconnected to the remote terminal. |
| public static final UserSessionEvent. | UNSPECIFIED
The system does not provide a reason for a session change. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static UserSessionEvent. | |
| public static UserSessionEvent. |
| CONSOLE | back to summary |
|---|---|
| public static final UserSessionEvent. The session was connected/disconnected to the console terminal. | |
| LOCK | back to summary |
|---|---|
| public static final UserSessionEvent. The session has been locked/unlocked. | |
| REMOTE | back to summary |
|---|---|
| public static final UserSessionEvent. The session was connected/disconnected to the remote terminal. | |
| UNSPECIFIED | back to summary |
|---|---|
| public static final UserSessionEvent. The system does not provide a reason for a session change. | |
| Reason | back to summary |
|---|---|
| private Reason() | |
| valueOf | back to summary |
|---|---|
| public static UserSessionEvent. | |
| values | back to summary |
|---|---|
| public static UserSessionEvent. | |