Tuscany Core

org.apache.tuscany.core.wire
Class MethodHashMap<T extends InvocationConfiguration>

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<java.lang.reflect.Method,T>
          extended by 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

Constructor Summary
MethodHashMap()
           
MethodHashMap(int size)
           
 
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
 

Constructor Detail

MethodHashMap

public MethodHashMap()

MethodHashMap

public MethodHashMap(int size)
Method Detail

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)

Tuscany Core

-