Class SessionListenerAdapter

  • All Implemented Interfaces:
    SessionListener

    public class SessionListenerAdapter
    extends 
    implements SessionListener
    Simple adapter implementation of the SessionListener interface, effectively providing no-op implementations of all methods.
    Since:
    1.0
    • 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.
      • Methods inherited from class java.lang.

        , , , , , , , , , ,
    • Constructor Detail

      • SessionListenerAdapter

        public SessionListenerAdapter()
    • Method Detail

      • onStart

        public void onStart​(Session session)
        Adapter no-op implementation - 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 implementation - 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 implementation - does nothing and returns immediately.
        Specified by:
        onExpiration in interface SessionListener
        Parameters:
        session - the session that has expired.