Module java.desktop

Interface UserSessionListener

All Superinterfaces:
EventListener, SystemEventListener

public interface UserSessionListener
extends SystemEventListener
Implementors receive notification when the user session changes.

This notification is useful for discontinuing a costly animation, or indicating that the user is no longer present on a network service.

Some systems may provide a reason of the user session change.

Since:
9
See Also:
UserSessionEvent.Reason.UNSPECIFIED, UserSessionEvent.Reason.CONSOLE, UserSessionEvent.Reason.REMOTE, UserSessionEvent.Reason.LOCK