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.
Configures the session management characteristics of a session repository.
- Author:
- Paul Ferraro
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDeprecated, 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.intDeprecated, 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 marshallerFactoryDeprecated, 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
SessionPersistenceGranularity granularityDeprecated, 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 maxActiveSessionsDeprecated, 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
-
SessionManagerinstead.