|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.interfacedef.java.impl.JavaInterfaceUtil
public final class JavaInterfaceUtil
Contains methods for mapping between an operation in a
org.apache.tuscany.spi.model.ServiceContract
and a method defined by
a Java interface
Method Summary | |
---|---|
static java.lang.reflect.Method |
findMethod(java.lang.Class<?> implClass,
Operation operation)
Return the method on the implementation class that matches the operation. |
static Operation |
findOperation(java.lang.reflect.Method method,
java.util.Collection<Operation> operations)
Searches a collection of operations for a match against the given method |
static java.lang.String |
getNamespace(java.lang.Class<?> cls)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.reflect.Method findMethod(java.lang.Class<?> implClass, Operation operation) throws java.lang.NoSuchMethodException
implClass
- the implementation class or interfaceoperation
- the operation to match
java.lang.NoSuchMethodException
- if no such method existspublic static Operation findOperation(java.lang.reflect.Method method, java.util.Collection<Operation> operations)
method
- the method to matchoperations
- the operations to match against
public static java.lang.String getNamespace(java.lang.Class<?> cls)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |