Interface SessionAttributeListener


  • public interface SessionAttributeListener
    Interface for receiving notification events about Session attribute changes.

    Created: 2017. 6. 25.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void attributeAdded​(Session session, java.lang.String name, java.lang.Object value)
      Receives notification that an attribute has been added to a session.
      void attributeRemoved​(Session session, java.lang.String name, java.lang.Object value)
      Receives notification that an attribute has been removed from a session.
      void attributeReplaced​(Session session, java.lang.String name, java.lang.Object value)
      Receives notification that an attribute has been replaced in a session.
    • Method Detail

      • attributeAdded

        void attributeAdded​(Session session,
                            java.lang.String name,
                            java.lang.Object value)
        Receives notification that an attribute has been added to a session.
        Parameters:
        session - the session to which the object is bound or unbound
        name - the name with which the object is bound or unbound
        value - the new value of the attribute that has been added
      • attributeRemoved

        void attributeRemoved​(Session session,
                              java.lang.String name,
                              java.lang.Object value)
        Receives notification that an attribute has been removed from a session.
        Parameters:
        session - the session to which the object is bound or unbound
        name - the name with which the object is bound or unbound
        value - the old value of the attribute that has been removed
      • attributeReplaced

        void attributeReplaced​(Session session,
                               java.lang.String name,
                               java.lang.Object value)
        Receives notification that an attribute has been replaced in a session.
        Parameters:
        session - the session to which the object is bound or unbound
        name - the name with which the object is bound or unbound
        value - the old value of the attribute that has been removed