Annotation Interface SessionManager


@Deprecated(forRemoval=true) @Retention(RUNTIME) @Target(TYPE) @Documented public @interface SessionManager
Deprecated, for removal: This API element is subject to removal in a future version.
Use SessionManager instead.
Configures the session management characteristics of a session repository.
Author:
Paul Ferraro
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Defines the granularity for persisting/replicating sessions, i.e. per session or per attribute.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Defines the marshaller implementation to use for session attribute marshalling.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
    The maximum number of sessions to retain in memory.
  • Element Details

    • marshallerFactory

      SessionMarshallerFactory marshallerFactory
      Deprecated, for removal: This API element is subject to removal in a future version.
      Defines the marshaller implementation to use for session attribute marshalling. Default uses JBoss Marshalling.
      Returns:
      a marshaller implementation
      Default:
      JBOSS
    • granularity

      Deprecated, for removal: This API element is subject to removal in a future version.
      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
      Deprecated, for removal: This API element is subject to removal in a future version.
      The maximum number of sessions to retain in memory. Default is limitless.
      Returns:
      the number of session to retain in memory.
      Default:
      -1