Class SimpleImmutableSessionAttributes
- java.lang.Object
-
- org.wildfly.clustering.web.cache.session.attributes.SimpleImmutableSessionAttributes
-
- All Implemented Interfaces:
ImmutableSessionAttributes
- Direct Known Subclasses:
CoarseSessionAttributes,FineSessionAttributes
public class SimpleImmutableSessionAttributes extends Object implements ImmutableSessionAttributes
An immutable "snapshot" of a session's attributes which can be accessed outside the scope of a transaction.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description SimpleImmutableSessionAttributes(Map<String,Object> attributes)SimpleImmutableSessionAttributes(ImmutableSessionAttributes attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAttribute(String name)Set<String>getAttributeNames()
-
-
-
Constructor Detail
-
SimpleImmutableSessionAttributes
public SimpleImmutableSessionAttributes(ImmutableSessionAttributes attributes)
-
-
Method Detail
-
getAttributeNames
public Set<String> getAttributeNames()
- Specified by:
getAttributeNamesin interfaceImmutableSessionAttributes
-
getAttribute
public Object getAttribute(String name)
- Specified by:
getAttributein interfaceImmutableSessionAttributes
-
-