Class ReflectionInvoker

  • Direct Known Subclasses:
    OperationInvoker

    public class ReflectionInvoker
    extends Object
    Invoke methods using reflection
    Author:
    Phillip Kruger (phillip.kruger@redhat.com)
    • Constructor Detail

      • ReflectionInvoker

        public ReflectionInvoker​(String className)
      • ReflectionInvoker

        public ReflectionInvoker​(String className,
                                 String methodName,
                                 List<String> parameterClasses)
    • Method Detail

      • getMethod

        public Method getMethod()
      • setMethod

        public void setMethod​(String methodName,
                              List<String> parameterClasses)
      • invokePrivileged

        public <T> T invokePrivileged​(Object... arguments)
      • invokePrivileged

        public <T> T invokePrivileged​(ClassLoader classLoader,
                                      Object... arguments)