org.apache.felix.dm
Class InvocationUtil

java.lang.Object
  extended by org.apache.felix.dm.InvocationUtil

public class InvocationUtil
extends Object


Constructor Summary
InvocationUtil()
           
 
Method Summary
static Object invokeCallbackMethod(Object instance, String methodName, Class[][] signatures, Object[][] parameters)
           
static Object invokeMethod(Object object, Class clazz, String name, Class[][] signatures, Object[][] parameters, boolean isSuper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationUtil

public InvocationUtil()
Method Detail

invokeCallbackMethod

public static Object invokeCallbackMethod(Object instance,
                                          String methodName,
                                          Class[][] signatures,
                                          Object[][] parameters)
                                   throws NoSuchMethodException,
                                          IllegalArgumentException,
                                          IllegalAccessException,
                                          InvocationTargetException
Throws:
NoSuchMethodException
IllegalArgumentException
IllegalAccessException
InvocationTargetException

invokeMethod

public static Object invokeMethod(Object object,
                                  Class clazz,
                                  String name,
                                  Class[][] signatures,
                                  Object[][] parameters,
                                  boolean isSuper)
                           throws NoSuchMethodException,
                                  InvocationTargetException,
                                  IllegalArgumentException,
                                  IllegalAccessException
Throws:
NoSuchMethodException
InvocationTargetException
IllegalArgumentException
IllegalAccessException


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.