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
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String name) Get session attribute value.Returns all session attributes.Returns current session id.void
setAttribute
(String name, Object attribute) Set session attribute value.
-
Constructor Details
-
SessionDataImpl
public SessionDataImpl()
-
-
Method Details
-
getAttributeNames
Description copied from interface:SessionData
Returns all session attributes.- Specified by:
getAttributeNames
in interfaceSessionData
-
getAttribute
Description copied from interface:SessionData
Get session attribute value.- Specified by:
getAttribute
in interfaceSessionData
-
setAttribute
Description copied from interface:SessionData
Set session attribute value.- Specified by:
setAttribute
in interfaceSessionData
-
getSessionId
Description copied from interface:SessionData
Returns current session id.- Specified by:
getSessionId
in interfaceSessionData
-