public class OOBSession<L,B extends Batch> extends Object implements Session<L>
| Constructor and Description |
|---|
OOBSession(SessionManager<L,B> manager,
String id,
L localContext) |
| 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.
|
String |
getId()
Specifies this session's unique identifier.
|
L |
getLocalContext()
Returns the local context of this session.
|
SessionMetaData |
getMetaData()
Returns this session's meta data.
|
void |
invalidate()
Invalidates this session.
|
boolean |
isValid()
Indicates whether or not this session is valid.
|
public OOBSession(SessionManager<L,B> manager, String id, L localContext)
public String getId()
ImmutableSessiongetId in interface ImmutableSessionpublic boolean isValid()
ImmutableSessionisValid in interface ImmutableSessionpublic SessionMetaData getMetaData()
SessiongetMetaData in interface ImmutableSessiongetMetaData in interface Session<L>public void invalidate()
Sessioninvalidate in interface Session<L>public SessionAttributes getAttributes()
SessiongetAttributes in interface ImmutableSessiongetAttributes in interface Session<L>public L getLocalContext()
SessiongetLocalContext in interface Session<L>Copyright © 2021 JBoss by Red Hat. All rights reserved.