public class FineSessionAttributes<V> extends FineImmutableSessionAttributes<V> implements SessionAttributes
| Constructor and Description |
|---|
FineSessionAttributes(String id,
Set<String> attributes,
org.infinispan.Cache<SessionAttributeCacheKey,V> attributeCache,
CacheInvoker invoker,
SessionAttributeMarshaller<Object,V> marshaller) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String name)
Retrieves the value of the specified attribute.
|
Object |
removeAttribute(String name)
Removes the specified attribute.
|
Object |
setAttribute(String name,
Object attribute)
Sets the specified attribute to the specified value.
|
createKey, getAttributeNames, getAttributeValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributeNamespublic FineSessionAttributes(String id, Set<String> attributes, org.infinispan.Cache<SessionAttributeCacheKey,V> attributeCache, CacheInvoker invoker, SessionAttributeMarshaller<Object,V> marshaller)
public Object removeAttribute(String name)
SessionAttributesremoveAttribute in interface SessionAttributesname - a unique attribute namepublic Object setAttribute(String name, Object attribute)
SessionAttributessetAttribute in interface SessionAttributesname - a unique attribute nameattribute - the attribute valuepublic Object getAttribute(String name)
ImmutableSessionAttributesgetAttribute in interface ImmutableSessionAttributesgetAttribute in class FineImmutableSessionAttributes<V>name - a unique attribute nameCopyright © 2014 JBoss by Red Hat. All rights reserved.