Annotation Interface SessionManager
Configures the session management characteristics of a session repository.
- Author:
- Paul Ferraro
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDefines the granularity for persisting/replicating sessions, i.e. per session or per attribute.Defines the marshaller implementation to use for session attribute marshalling.intThe maximum number of sessions to retain in memory.
-
Element Details
-
marshaller
SessionAttributeMarshaller marshallerDefines the marshaller implementation to use for session attribute marshalling. Default uses JBoss Marshalling.- Returns:
- a marshaller implementation
- Default:
JBOSS
-
granularity
SessionPersistenceGranularity granularityDefines 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 maxActiveSessionsThe maximum number of sessions to retain in memory. Default is limitless.- Returns:
- the number of session to retain in memory.
- Default:
-1
-