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 theSessionListenerinterface, 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 voidonExpiration(Session session)Adapter no-op implementation - does nothing and returns immediately.voidonStart(Session session)Adapter no-op implementation - does nothing and returns immediately.voidonStop(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:
onStartin 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:
onStopin 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:
onExpirationin interfaceSessionListener- Parameters:
session- the session that has expired.
-
-