public class FineImmutableSessionAttributes<V> extends Object implements ImmutableSessionAttributes
| Constructor and Description |
|---|
FineImmutableSessionAttributes(String id,
Set<String> attributes,
org.infinispan.Cache<SessionAttributeCacheKey,V> attributeCache,
CacheInvoker invoker,
SessionAttributeMarshaller<Object,V> marshaller) |
| Modifier and Type | Method and Description |
|---|---|
protected SessionAttributeCacheKey |
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 V |
getAttributeValue(SessionAttributeCacheKey key) |
public FineImmutableSessionAttributes(String id, Set<String> attributes, org.infinispan.Cache<SessionAttributeCacheKey,V> attributeCache, CacheInvoker invoker, SessionAttributeMarshaller<Object,V> marshaller)
public Set<String> getAttributeNames()
ImmutableSessionAttributesgetAttributeNames in interface ImmutableSessionAttributespublic Object getAttribute(String name)
ImmutableSessionAttributesgetAttribute in interface ImmutableSessionAttributesname - a unique attribute nameprotected V getAttributeValue(SessionAttributeCacheKey key)
protected SessionAttributeCacheKey createKey(String attribute)
Copyright © 2014 JBoss by Red Hat. All rights reserved.