Package com.sun.xml.wss.impl.misc
Class ReflectionUtil
- java.lang.Object
-
- com.sun.xml.wss.impl.misc.ReflectionUtil
-
public class ReflectionUtil extends Object
Reflection utilities wrapper
-
-
Constructor Summary
Constructors Constructor Description ReflectionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
invoke(Object target, String methodName, Class<T> resultClass, Object... parameters)
Reflectively invokes specified method on the specified targetstatic <T> T
invoke(Object target, String methodName, Class<T> resultClass, Object[] parameters, Class[] parameterTypes)
Reflectively invokes specified method on the specified target
-
-
-
Method Detail
-
invoke
public static <T> T invoke(Object target, String methodName, Class<T> resultClass, Object... parameters) throws XWSSecurityRuntimeException
Reflectively invokes specified method on the specified target- Throws:
XWSSecurityRuntimeException
-
invoke
public static <T> T invoke(Object target, String methodName, Class<T> resultClass, Object[] parameters, Class[] parameterTypes) throws XWSSecurityRuntimeException
Reflectively invokes specified method on the specified target- Throws:
XWSSecurityRuntimeException
-
-