Class SessionManager

java.lang.Object
org.smallmind.persistence.orm.SessionManager
All Implemented Interfaces:
PerApplicationDataManager, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class SessionManager extends Object implements PerApplicationDataManager, org.springframework.context.ApplicationContextAware
  • Constructor Details

    • SessionManager

      public SessionManager()
  • Method Details

    • register

      public static void register(String sessionSourceKey, ProxySession proxySession)
    • getSession

      public static ProxySession getSession()
    • getSession

      public static ProxySession getSession(String sessionSourceKey)
    • closeSession

      public static void closeSession()
    • closeSession

      public static void closeSession(String sessionSourceKey)
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException