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, isValidSessionMetaData getMetaData()
getMetaData in interface ImmutableSessionvoid invalidate()
IllegalStateException - if this session was already invalidated.SessionAttributes getAttributes()
getAttributes in interface ImmutableSessionvoid close()
close in interface AutoCloseableL getLocalContext()
Copyright © 2015 JBoss by Red Hat. All rights reserved.