Class TowSessionManager

java.lang.Object
com.aspectran.undertow.server.session.TowSessionManager
All Implemented Interfaces:
com.aspectran.core.component.bean.ablility.DisposableBean, com.aspectran.core.component.bean.aware.ApplicationAdapterAware, com.aspectran.core.component.bean.aware.Aware, io.undertow.server.session.SessionManager

public class TowSessionManager extends Object implements io.undertow.server.session.SessionManager, com.aspectran.core.component.bean.aware.ApplicationAdapterAware, com.aspectran.core.component.bean.ablility.DisposableBean

Created: 2019-08-07

  • Constructor Details

    • TowSessionManager

      public TowSessionManager()
  • Method Details

    • setApplicationAdapter

      public void setApplicationAdapter(com.aspectran.core.adapter.ApplicationAdapter applicationAdapter)
      Specified by:
      setApplicationAdapter in interface com.aspectran.core.component.bean.aware.ApplicationAdapterAware
    • setSessionManagerConfig

      public void setSessionManagerConfig(com.aspectran.core.context.config.SessionManagerConfig sessionManagerConfig)
    • setSessionManagerConfigWithApon

      public void setSessionManagerConfigWithApon(String apon)
    • setSessionStore

      public void setSessionStore(com.aspectran.core.component.session.SessionStore sessionStore)
    • getSessionHandler

      public com.aspectran.core.component.session.SessionHandler getSessionHandler()
    • getDeploymentName

      public String getDeploymentName()
      Specified by:
      getDeploymentName in interface io.undertow.server.session.SessionManager
    • start

      public void start()
      Specified by:
      start in interface io.undertow.server.session.SessionManager
    • stop

      public void stop()
      Specified by:
      stop in interface io.undertow.server.session.SessionManager
    • destroy

      public void destroy() throws Exception
      Specified by:
      destroy in interface com.aspectran.core.component.bean.ablility.DisposableBean
      Throws:
      Exception
    • createSession

      public io.undertow.server.session.Session createSession(io.undertow.server.HttpServerExchange exchange, io.undertow.server.session.SessionConfig sessionConfig)
      Specified by:
      createSession in interface io.undertow.server.session.SessionManager
    • getSession

      public io.undertow.server.session.Session getSession(io.undertow.server.HttpServerExchange exchange, io.undertow.server.session.SessionConfig sessionConfig)
      Specified by:
      getSession in interface io.undertow.server.session.SessionManager
    • getSession

      public io.undertow.server.session.Session getSession(String sessionId)
      Specified by:
      getSession in interface io.undertow.server.session.SessionManager
    • registerSessionListener

      public void registerSessionListener(io.undertow.server.session.SessionListener listener)
      Specified by:
      registerSessionListener in interface io.undertow.server.session.SessionManager
    • removeSessionListener

      public void removeSessionListener(io.undertow.server.session.SessionListener listener)
      Specified by:
      removeSessionListener in interface io.undertow.server.session.SessionManager
    • setDefaultSessionTimeout

      public void setDefaultSessionTimeout(int timeout)
      Specified by:
      setDefaultSessionTimeout in interface io.undertow.server.session.SessionManager
    • getTransientSessions

      public Set<String> getTransientSessions()
      Specified by:
      getTransientSessions in interface io.undertow.server.session.SessionManager
    • getActiveSessions

      public Set<String> getActiveSessions()
      Specified by:
      getActiveSessions in interface io.undertow.server.session.SessionManager
    • getAllSessions

      public Set<String> getAllSessions()
      Specified by:
      getAllSessions in interface io.undertow.server.session.SessionManager
    • getStatistics

      public io.undertow.server.session.SessionManagerStatistics getStatistics()
      Specified by:
      getStatistics in interface io.undertow.server.session.SessionManager