org.apache.tuscany.core.wire
Class MethodHashMap<T extends InvocationConfiguration>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<java.lang.reflect.Method,T>
org.apache.tuscany.core.wire.MethodHashMap<T>
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.reflect.Method,T>
public class MethodHashMap<T extends InvocationConfiguration>
- extends java.util.HashMap<java.lang.reflect.Method,T>
A Map
implementation that performs a lookup on a collection of methods by method name. This implementation is used
to map methods on one interface to compatible methods on another interface, for example, when flowing an invocation from a
proxy injected on a source reference to a target service instance.
- Version:
- $Rev$ $Date$
- See Also:
- Serialized Form
Method Summary |
T |
get(java.lang.Object key)
|
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
MethodHashMap
public MethodHashMap()
MethodHashMap
public MethodHashMap(int size)
get
public T get(java.lang.Object key)
- Specified by:
get
in interface java.util.Map<java.lang.reflect.Method,T extends InvocationConfiguration>
- Overrides:
get
in class java.util.HashMap<java.lang.reflect.Method,T extends InvocationConfiguration>
- See Also:
HashMap.get(java.lang.Object)
-