public class JolokiaInvocationHandler extends Object implements InvocationHandler
| Constructor and Description |
|---|
JolokiaInvocationHandler(org.jolokia.client.J4pClient jolokia,
ObjectName objectName,
Class<?> interfaceClass) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
executeMethodName(Method method)
Returns the method name with parameter types if there is more than one method with the same name on the interface class
|
protected String |
getterAttributeName(Method method) |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
protected static int |
methodCount(Class<?> clazz,
String name)
Returns the number of declared methods on the given clazz
|
static <T> T |
newProxyInstance(org.jolokia.client.J4pClient jolokia,
ObjectName objectName,
Class<T> interfaceClass) |
protected String |
setterAttributeName(Method method) |
public JolokiaInvocationHandler(org.jolokia.client.J4pClient jolokia,
ObjectName objectName,
Class<?> interfaceClass)
public static <T> T newProxyInstance(org.jolokia.client.J4pClient jolokia,
ObjectName objectName,
Class<T> interfaceClass)
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowableprotected String executeMethodName(Method method)
Copyright © 2011–2016 Red Hat. All rights reserved.