Package de.hybris.platform.jalo
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 Summary
Modifier and TypeMethodDescriptionvoidafterSessionAttributeChange(JaloSession session, String attributeName, Object value) Notify if the extension manager if the session attributes was changedvoidafterSessionCreation(JaloSession session) Notifies the extension manager if a session was just created.voidafterSessionUserChange(JaloSession session, User previous) Notifies the extension manager if the current session user was changedvoidbeforeSessionClose(JaloSession session) Notifies the extension manager if a session will be closed.
-
Method Details
-
beforeSessionClose
Notifies the extension manager if a session will be closed.- Parameters:
session- current session- See Also:
-
afterSessionCreation
Notifies the extension manager if a session was just created.- Parameters:
session- new session- See Also:
-
JaloSession.createInstance(java.util.Map, Class)
-
afterSessionUserChange
Notifies the extension manager if the current session user was changed- Parameters:
session- current sessionprevious- previous user- See Also:
-
afterSessionAttributeChange
Notify if the extension manager if the session attributes was changed- Parameters:
session- current sessionattributeName- name of changed attributevalue- new value
-