info.magnolia.module.blossom.support
Class MethodInvocationUtils

java.lang.Object
  extended by info.magnolia.module.blossom.support.MethodInvocationUtils

public class MethodInvocationUtils
extends Object

Utility class for invoking methods.

Since:
1.1.1

Constructor Summary
MethodInvocationUtils()
           
 
Method Summary
static Object invoke(Method method, Object object, ParameterResolver resolver)
          Invokes a method with parameters resolved by the passed in ParameterResolver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodInvocationUtils

public MethodInvocationUtils()
Method Detail

invoke

public static Object invoke(Method method,
                            Object object,
                            ParameterResolver resolver)
Invokes a method with parameters resolved by the passed in ParameterResolver. Should not be used for methods that throw checked exceptions. Can invoke non public methods.

See Also:
ParameterResolver


Copyright © 2009-2012 Magnolia International Ltd.. All Rights Reserved.