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()
ImmutableSessionAttributes
getAttributeNames
in interface ImmutableSessionAttributes
public Object getAttribute(String name)
ImmutableSessionAttributes
getAttribute
in interface ImmutableSessionAttributes
name
- a unique attribute nameprotected V getAttributeValue(SessionAttributeCacheKey key)
protected SessionAttributeCacheKey createKey(String attribute)
Copyright © 2013 JBoss by Red Hat. All rights reserved.