Annotation Interface SessionManager


@Retention(RUNTIME) @Target(TYPE) @Documented public @interface SessionManager
Configures the session management characteristics of a session repository.
Author:
Paul Ferraro
  • Element Details

    • marshaller

      Defines the marshaller implementation to use for session attribute marshalling. Default uses JBoss Marshalling.
      Returns:
      a marshaller implementation
      Default:
      JBOSS
    • granularity

      Defines the granularity for persisting/replicating sessions, i.e. per session or per attribute. Default is per-session.
      Returns:
      the session persistence granularity
      Default:
      SESSION
    • maxActiveSessions

      int maxActiveSessions
      The maximum number of sessions to retain in memory. Default is limitless.
      Returns:
      the number of session to retain in memory.
      Default:
      -1