Package com.soffid.iam.service.ejb
Class SessionCacheServiceBean
- java.lang.Object
-
- org.springframework.ejb.support.AbstractStatelessSessionBean
-
- com.soffid.iam.service.ejb.SessionCacheServiceBean
-
- All Implemented Interfaces:
com.soffid.iam.service.ejb.SessionCacheService
,Serializable
,javax.ejb.EnterpriseBean
,javax.ejb.SessionBean
,org.springframework.ejb.support.SmartSessionBean
public class SessionCacheServiceBean extends org.springframework.ejb.support.AbstractStatelessSessionBean implements com.soffid.iam.service.ejb.SessionCacheService
- See Also:
com.soffid.iam.service.SessionCacheService
,,es.caib.seycon.ng.servei.SessionCacheService
,, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description SessionCacheServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
clearSession()
String
createSession()
void
ejbCreate()
Initizlizes beenvoid
ejbRemove()
protected org.springframework.beans.factory.BeanFactory
getBeanFactory()
String
getCurrentSessionId()
Object
getObject(String tag)
javax.ejb.SessionContext
getSessionContext()
protected void
onEjbCreate()
protected void
onEjbRemove()
void
putObject(String tag, Object value)
void
setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
void
setBeanFactoryLocatorKey(String arg0)
String
setSession(String sessionId)
void
setSessionContext(javax.ejb.SessionContext sessionContext)
Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.-
Methods inherited from class org.springframework.ejb.support.AbstractStatelessSessionBean
ejbActivate, ejbPassivate
-
-
-
-
Field Detail
-
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
public static final String BEAN_FACTORY_PATH_ENVIRONMENT_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getObject
@PermitAll public Object getObject(String tag) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getObject
in interfacecom.soffid.iam.service.ejb.SessionCacheService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
clearSession
@PermitAll public String clearSession() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
clearSession
in interfacecom.soffid.iam.service.ejb.SessionCacheService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
createSession
@PermitAll public String createSession() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
createSession
in interfacecom.soffid.iam.service.ejb.SessionCacheService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getCurrentSessionId
@PermitAll public String getCurrentSessionId() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getCurrentSessionId
in interfacecom.soffid.iam.service.ejb.SessionCacheService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
setSession
@PermitAll public String setSession(String sessionId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
setSession
in interfacecom.soffid.iam.service.ejb.SessionCacheService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
putObject
@PermitAll public void putObject(String tag, Object value) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
putObject
in interfacecom.soffid.iam.service.ejb.SessionCacheService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
ejbCreate
@PostConstruct public void ejbCreate() throws javax.ejb.CreateException
Initizlizes been- Overrides:
ejbCreate
in classorg.springframework.ejb.support.AbstractStatelessSessionBean
- Throws:
javax.ejb.CreateException
- See Also:
AbstractStatelessSessionBean.onEjbCreate()
-
onEjbCreate
protected void onEjbCreate()
- Specified by:
onEjbCreate
in classorg.springframework.ejb.support.AbstractStatelessSessionBean
-
setSessionContext
public void setSessionContext(javax.ejb.SessionContext sessionContext)
Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.- Specified by:
setSessionContext
in interfacejavax.ejb.SessionBean
- See Also:
SessionBean.setSessionContext(javax.ejb.SessionContext)
-
getSessionContext
public final javax.ejb.SessionContext getSessionContext()
- Specified by:
getSessionContext
in interfaceorg.springframework.ejb.support.SmartSessionBean
-
setBeanFactoryLocator
public void setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
-
setBeanFactoryLocatorKey
public void setBeanFactoryLocatorKey(String arg0)
-
getBeanFactory
protected org.springframework.beans.factory.BeanFactory getBeanFactory()
-
ejbRemove
public void ejbRemove()
-
onEjbRemove
protected void onEjbRemove()
-
-