Interface AbstractSessionManager.Configuration<CC,MV,AV,SC>

Type Parameters:
CC - the deployment context type
MV - the session metadata value type
AV - the session attribute value type
SC - the session context type
All Superinterfaces:
Expiration, ExpirationConfiguration<ImmutableSession>, ManagerConfiguration<String>, SessionManagerConfiguration<CC>
Enclosing class:
AbstractSessionManager<CC,MV,AV,SC>

protected static interface AbstractSessionManager.Configuration<CC,MV,AV,SC> extends SessionManagerConfiguration<CC>
Configuration of a session manager.
Author:
Paul Ferraro
  • Method Details

    • getIdentifierFactory

      IdentifierFactoryService<String> getIdentifierFactory()
      Description copied from interface: ManagerConfiguration
      Returns a factory for creating identifiers for use by this manager.
      Specified by:
      getIdentifierFactory in interface ManagerConfiguration<CC>
      Returns:
      an identifier factory
    • getCacheConfiguration

      CacheConfiguration getCacheConfiguration()
      Returns the configuration associated with a cache.
      Returns:
      the configuration associated with a cache.
    • getSessionFactory

      SessionFactory<CC,MV,AV,SC> getSessionFactory()
      Returns a factory for creating a session.
      Returns:
      a factory for creating a session.
    • getDetachedSessionFactory

      BiFunction<String, SC, Session<SC>> getDetachedSessionFactory()
      Returns a factory for creating a detached session.
      Returns:
      a factory for creating a detached session.
    • getExpiredSessionHandler

      Consumer<ImmutableSession> getExpiredSessionHandler()
      Returns a task to invoke on session close.
      Returns:
      a task to invoke on session close.
    • getSessionCloseTask

      Consumer<ImmutableSession> getSessionCloseTask()
      Returns a task to invoke on session close.
      Returns:
      a task to invoke on session close.