public interface Session<L> extends ImmutableSession, AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
Indicates that the application thread is finished with this session.
|
SessionAttributes |
getAttributes()
Returns this session's attributes.
|
L |
getLocalContext()
Returns the local context of this session.
|
SessionMetaData |
getMetaData()
Returns this session's meta data.
|
void |
invalidate()
Invalidates this session.
|
getContext, getId, isValid
SessionMetaData getMetaData()
getMetaData
in interface ImmutableSession
void invalidate()
IllegalStateException
- if this session was already invalidated.SessionAttributes getAttributes()
getAttributes
in interface ImmutableSession
void close()
close
in interface AutoCloseable
L getLocalContext()
Copyright © 2015 JBoss by Red Hat. All rights reserved.