public final class AttributeKey
extends java.lang.Object
implements java.io.Serializable
private static final AttributeKey PROCESSOR = new AttributeKey(
SimpleIoProcessorPool.class, "processor");
This will create the SimpleIoProcessorPool.processor@7DE45C99 key
which will be stored in the session map.| Constructor and Description |
|---|
AttributeKey(java.lang.Class<?> source,
java.lang.String name)
Creates a new instance.
|
public AttributeKey(java.lang.Class<?> source,
java.lang.String name)
source - The class this AttributeKey will be attached toname - The Attribute namepublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object