org.apache.felix.dm.runtime
Class InvocationUtil
java.lang.Object
org.apache.felix.dm.runtime.InvocationUtil
public class InvocationUtil
- extends Object
Java reflexion utility methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvocationUtil
public InvocationUtil()
invokeCallbackMethod
public static Object invokeCallbackMethod(Object instance,
String methodName,
[][] signatures,
Object[][] parameters)
throws NoSuchMethodException,
IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
NoSuchMethodException
IllegalArgumentException
IllegalAccessException
InvocationTargetException
invokeMethod
public static Object invokeMethod(Object object,
clazz,
String name,
[][] signatures,
Object[][] parameters,
boolean isSuper)
throws NoSuchMethodException,
InvocationTargetException,
IllegalArgumentException,
IllegalAccessException
- Throws:
NoSuchMethodException
InvocationTargetException
IllegalArgumentException
IllegalAccessException
Copyright © 2011 Apache Software Foundation. All Rights Reserved.