org.apache.tuscany.sca.binding.corba.impl.util
Class OperationMapper

java.lang.Object
  extended by org.apache.tuscany.sca.binding.corba.impl.util.OperationMapper

public final class OperationMapper
extends java.lang.Object


Constructor Summary
OperationMapper()
           
 
Method Summary
static java.util.Map<java.lang.reflect.Method,Operation> mapMethodToOperation(java.util.List<Operation> operations, java.lang.Class<?> forClass)
           
static java.util.Map<java.lang.reflect.Method,java.lang.String> mapMethodToOperationName(java.lang.Class<?> intfClass)
          Maps Java methods to operation names
static java.util.Map<java.lang.String,java.lang.reflect.Method> mapOperationNameToMethod(java.lang.Class<?> intfClass)
          Maps operation names to Java methods
static java.util.Map<Operation,java.lang.reflect.Method> mapOperationToMethod(java.util.List<Operation> operations, java.lang.Class<?> forClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationMapper

public OperationMapper()
Method Detail

mapMethodToOperationName

public static java.util.Map<java.lang.reflect.Method,java.lang.String> mapMethodToOperationName(java.lang.Class<?> intfClass)
Maps Java methods to operation names

Parameters:
intfClass -
Returns:

mapOperationNameToMethod

public static java.util.Map<java.lang.String,java.lang.reflect.Method> mapOperationNameToMethod(java.lang.Class<?> intfClass)
Maps operation names to Java methods

Parameters:
intfClass -
Returns:

mapOperationToMethod

public static java.util.Map<Operation,java.lang.reflect.Method> mapOperationToMethod(java.util.List<Operation> operations,
                                                                                     java.lang.Class<?> forClass)

mapMethodToOperation

public static java.util.Map<java.lang.reflect.Method,Operation> mapMethodToOperation(java.util.List<Operation> operations,
                                                                                     java.lang.Class<?> forClass)