com.sun.xml.ws.policy.privateutil
Class PolicyUtils.Reflection
java.lang.Object
com.sun.xml.ws.policy.privateutil.PolicyUtils.Reflection
- Enclosing class:
- PolicyUtils
public static class PolicyUtils.Reflection
- extends Object
Reflection utilities wrapper
|
Method Summary |
static
|
invoke(Object target,
String methodName,
Class<T> resultClass,
Object... parameters)
Reflectively invokes specified method on the specified target |
static
|
invoke(Object target,
String methodName,
Class<T> resultClass,
Object[] parameters,
Class[] parameterTypes)
Reflectively invokes specified method on the specified target |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyUtils.Reflection
public PolicyUtils.Reflection()
invoke
public static <T> T invoke(Object target,
String methodName,
Class<T> resultClass,
Object... parameters)
throws RuntimePolicyUtilsException
- Reflectively invokes specified method on the specified target
- Throws:
RuntimePolicyUtilsException
invoke
public static <T> T invoke(Object target,
String methodName,
Class<T> resultClass,
Object[] parameters,
Class[] parameterTypes)
throws RuntimePolicyUtilsException
- Reflectively invokes specified method on the specified target
- Throws:
RuntimePolicyUtilsException
Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.