public class OOBSessionAttributes<L,B extends Batch> extends Object implements SessionAttributes
| Constructor and Description |
|---|
OOBSessionAttributes(SessionManager<L,B> manager,
String id) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name)
Retrieves the value of the specified attribute.
|
Set<String> |
getAttributeNames()
Returns the names of the attributes of this session.
|
Object |
removeAttribute(String name)
Removes the specified attribute.
|
Object |
setAttribute(String name,
Object value)
Sets the specified attribute to the specified value.
|
public OOBSessionAttributes(SessionManager<L,B> manager, String id)
public Set<String> getAttributeNames()
ImmutableSessionAttributesgetAttributeNames in interface ImmutableSessionAttributespublic Object getAttribute(String name)
ImmutableSessionAttributesgetAttribute in interface ImmutableSessionAttributesname - a unique attribute namepublic Object removeAttribute(String name)
SessionAttributesremoveAttribute in interface SessionAttributesname - a unique attribute namepublic Object setAttribute(String name, Object value)
SessionAttributessetAttribute in interface SessionAttributesname - a unique attribute namevalue - the attribute valueCopyright © 2021 JBoss by Red Hat. All rights reserved.