org.apache.tuscany.core.wire
Class MethodHashMap<T extends InvocationConfiguration>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<Method,T>
org.apache.tuscany.core.wire.MethodHashMap<T>
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Method,T>
public class MethodHashMap<T extends InvocationConfiguration>
- extends HashMap<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
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
MethodHashMap
public MethodHashMap()
MethodHashMap
public MethodHashMap(int size)
get
public T get(Object key)
- Specified by:
get
in interface Map<Method,T extends InvocationConfiguration>
- Overrides:
get
in class HashMap<Method,T extends InvocationConfiguration>
- See Also:
HashMap.get(java.lang.Object)
-