Package org.smallmind.persistence.orm
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidcloseSession(String sessionSourceKey) static ProxySessionstatic ProxySessiongetSession(String sessionSourceKey) static voidregister(String sessionSourceKey, ProxySession proxySession) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Constructor Details
-
SessionManager
public SessionManager()
-
-
Method Details
-
register
-
getSession
-
getSession
-
closeSession
public static void closeSession() -
closeSession
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-