public class FineImmutableSessionAttributes<V> extends Object implements ImmutableSessionAttributes
Constructor and Description |
---|
FineImmutableSessionAttributes(String id,
org.infinispan.Cache<SessionAttributeKey,V> attributeCache,
Marshaller<Object,V,MarshallingContext> marshaller) |
Modifier and Type | Method and Description |
---|---|
protected SessionAttributeKey |
createKey(String attribute) |
Object |
getAttribute(String name)
Retrieves the value of the specified attribute.
|
Set<String> |
getAttributeNames()
Returns the names of the attributes of this session.
|
protected Object |
read(String name,
V value) |
public FineImmutableSessionAttributes(String id, org.infinispan.Cache<SessionAttributeKey,V> attributeCache, Marshaller<Object,V,MarshallingContext> marshaller)
public Set<String> getAttributeNames()
ImmutableSessionAttributes
getAttributeNames
in interface ImmutableSessionAttributes
public Object getAttribute(String name)
ImmutableSessionAttributes
getAttribute
in interface ImmutableSessionAttributes
name
- a unique attribute nameprotected SessionAttributeKey createKey(String attribute)
Copyright © 2017 JBoss by Red Hat. All rights reserved.