Interface SessionDataMap

    • Method Detail

      • initialize

        void initialize​(SessionContext context)
                 throws java.lang.Exception
        Deprecated.
        Initialize this data map for the given context. A SessionDataMap can only be used by one context(/session manager).
        Parameters:
        context - context associated
        Throws:
        java.lang.Exception - if unable to initialize the
      • load

        SessionData load​(java.lang.String id)
                  throws java.lang.Exception
        Deprecated.
        Read in session data.
        Parameters:
        id - identity of session to load
        Returns:
        the SessionData matching the id
        Throws:
        java.lang.Exception - if unable to load session data
      • store

        void store​(java.lang.String id,
                   SessionData data)
            throws java.lang.Exception
        Deprecated.
        Store the session data.
        Parameters:
        id - identity of session to store
        data - info of session to store
        Throws:
        java.lang.Exception - if unable to write session data
      • delete

        boolean delete​(java.lang.String id)
                throws java.lang.Exception
        Deprecated.
        Delete session data
        Parameters:
        id - identity of session to delete
        Returns:
        true if the session was deleted
        Throws:
        java.lang.Exception - if unable to delete session data