Package io.jmix.core.impl.session
Class SessionDataImpl
java.lang.Object
io.jmix.core.impl.session.SessionDataImpl
- All Implemented Interfaces:
SessionData,Serializable
@Component("core_SessionData")
@Scope("session")
public class SessionDataImpl
extends Object
implements SessionData
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String name) Get session attribute value.Returns all session attributes.Returns current session id.voidsetAttribute(String name, Object attribute) Set session attribute value.
-
Constructor Details
-
SessionDataImpl
public SessionDataImpl()
-
-
Method Details
-
getAttributeNames
Description copied from interface:SessionDataReturns all session attributes.- Specified by:
getAttributeNamesin interfaceSessionData
-
getAttribute
Description copied from interface:SessionDataGet session attribute value.- Specified by:
getAttributein interfaceSessionData
-
setAttribute
Description copied from interface:SessionDataSet session attribute value.- Specified by:
setAttributein interfaceSessionData
-
getSessionId
Description copied from interface:SessionDataReturns current session id.- Specified by:
getSessionIdin interfaceSessionData
-