Interface JaloSessionListener

All Known Implementing Classes:
BackofficeManager, ServicelayerManager

public interface JaloSessionListener
By implementing this interface an {link extension manager will be notified about creation, closing and user change events.

Alternatively a session listener object may be added to the JaloConnection via JaloConnection.registerJaloSessionListener(JaloSessionListener).

  • Method Details

    • beforeSessionClose

      void beforeSessionClose(JaloSession session)
      Notifies the extension manager if a session will be closed.
      Parameters:
      session - current session
      See Also:
    • afterSessionCreation

      void afterSessionCreation(JaloSession session)
      Notifies the extension manager if a session was just created.
      Parameters:
      session - new session
      See Also:
      • JaloSession.createInstance(java.util.Map, Class)
    • afterSessionUserChange

      void afterSessionUserChange(JaloSession session, User previous)
      Notifies the extension manager if the current session user was changed
      Parameters:
      session - current session
      previous - previous user
      See Also:
    • afterSessionAttributeChange

      void afterSessionAttributeChange(JaloSession session, String attributeName, Object value)
      Notify if the extension manager if the session attributes was changed
      Parameters:
      session - current session
      attributeName - name of changed attribute
      value - new value