Package org.apache.shiro.session
Class SessionListenerAdapter
- java.lang.Object
-
- org.apache.shiro.session.SessionListenerAdapter
-
- All Implemented Interfaces:
SessionListener
public class SessionListenerAdapter extends Object implements SessionListener
Simple adapter implementation of theSessionListener
interface, effectively providing no-op implementations of all methods.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description SessionListenerAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onExpiration(Session session)
Adapter no-op implementation - does nothing and returns immediately.void
onStart(Session session)
Adapter no-op implementation - does nothing and returns immediately.void
onStop(Session session)
Adapter no-op implementation - does nothing and returns immediately.
-
-
-
Method Detail
-
onStart
public void onStart(Session session)
Adapter no-op implementation - does nothing and returns immediately.- Specified by:
onStart
in interfaceSessionListener
- Parameters:
session
- the session that has started.
-
onStop
public void onStop(Session session)
Adapter no-op implementation - does nothing and returns immediately.- Specified by:
onStop
in interfaceSessionListener
- Parameters:
session
- the session that has stopped.
-
onExpiration
public void onExpiration(Session session)
Adapter no-op implementation - does nothing and returns immediately.- Specified by:
onExpiration
in interfaceSessionListener
- Parameters:
session
- the session that has expired.
-
-