org.apache.openejb.jee
Interface KeyExtractor<K,V>


public interface KeyExtractor<K,V>

Extracts an immutable key for this object. It is important for the key to not be mutable and that the key value itself is not changed in the object. If this happens any AutoIndex, or Map using this key will break.


Method Summary
 K getKey(V value)
          Gets the immutable key for the specified value.
 

Method Detail

getKey

K getKey(V value)
Gets the immutable key for the specified value.

Returns:
gets the immutable key for the specified value


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.