org.apache.mina.core.session
Class AttributeKey

java.lang.Object
  extended by org.apache.mina.core.session.AttributeKey
All Implemented Interfaces:
Serializable

public final class AttributeKey
extends Object
implements Serializable

A key that makes its parent Map or session attribute to search fast while being debug-friendly by providing the string representation.

Version:
$Rev: 671827 $, $Date: 2008-06-26 10:49:48 +0200 (jeu, 26 jun 2008) $
Author:
The Apache MINA Project (dev@mina.apache.org)
See Also:
Serialized Form

Constructor Summary
AttributeKey(Class<?> source, String name)
          Creates a new instance.
 
Method Summary
 String toString()
          The String representation of tis objection is its constructed name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeKey

public AttributeKey(Class<?> source,
                    String name)
Creates a new instance. It's built from : - the class' name - the attribute's name - this attribute hashCode

Method Detail

toString

public String toString()
The String representation of tis objection is its constructed name.

Overrides:
toString in class Object


Copyright © 2004-2008 Apache MINA Project. All Rights Reserved.