public final class AttributeKey extends Object implements 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(Class<?> source,
String name)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString()
The String representation of this object.
|
public AttributeKey(Class<?> source, String name)
source
- The class this AttributeKey will be attached toname
- The Attribute nameCopyright © 2004–2016 Apache MINA Project. All rights reserved.