org.apache.shiro.session
Class SessionListenerAdapter

java.lang.Object
  extended by org.apache.shiro.session.SessionListenerAdapter
All Implemented Interfaces:
SessionListener

public class SessionListenerAdapter
extends Object
implements SessionListener

Simple adapter implementation of the SessionListener interface, effectively providing no-op implementations of all methods.

Since:
1.0

Constructor Summary
SessionListenerAdapter()
           
 
Method Summary
 void onExpiration(Session session)
          Adapter no-op implemenation - does nothing and returns immediately.
 void onStart(Session session)
          Adapter no-op implemenation - does nothing and returns immediately.
 void onStop(Session session)
          Adapter no-op implemenation - does nothing and returns immediately.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionListenerAdapter

public SessionListenerAdapter()
Method Detail

onStart

public void onStart(Session session)
Adapter no-op implemenation - does nothing and returns immediately.

Specified by:
onStart in interface SessionListener
Parameters:
session - the session that has started.

onStop

public void onStop(Session session)
Adapter no-op implemenation - does nothing and returns immediately.

Specified by:
onStop in interface SessionListener
Parameters:
session - the session that has stopped.

onExpiration

public void onExpiration(Session session)
Adapter no-op implemenation - does nothing and returns immediately.

Specified by:
onExpiration in interface SessionListener
Parameters:
session - the session that has expired.


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.