Class SessionListenerAdapter
java.lang.Object
org.apache.shiro.session.SessionListenerAdapter
- All Implemented Interfaces:
SessionListener
Simple adapter implementation of the
SessionListener interface, effectively providing
no-op implementations of all methods.- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonExpiration(Session session) Adapter no-op implementation - does nothing and returns immediately.voidAdapter no-op implementation - does nothing and returns immediately.voidAdapter no-op implementation - does nothing and returns immediately.
-
Constructor Details
-
SessionListenerAdapter
public SessionListenerAdapter()
-
-
Method Details
-
onStart
Adapter no-op implementation - does nothing and returns immediately.- Specified by:
onStartin interfaceSessionListener- Parameters:
session- the session that has started.
-
onStop
Adapter no-op implementation - does nothing and returns immediately.- Specified by:
onStopin interfaceSessionListener- Parameters:
session- the session that has stopped.
-
onExpiration
Adapter no-op implementation - does nothing and returns immediately.- Specified by:
onExpirationin interfaceSessionListener- Parameters:
session- the session that has expired.
-