Method method=MethodCall.findMethod(target.getClass(), method_name, args); if(method == null) { if(prot instanceof AdditionalJmxObjects) { for(Object obj: ((AdditionalJmxObjects)prot).getJmxObjects()) { method=MethodCall.findMethod(obj.getClass(), method_name, args); if(method != null) { target=obj;
switch(mode) { case OLD: meth=findMethod(cl); break; case METHOD:
Method method=MethodCall.findMethod(target.getClass(), method_name, args); if(method == null) { if(prot instanceof AdditionalJmxObjects) { for(Object obj: ((AdditionalJmxObjects)prot).getJmxObjects()) { method=MethodCall.findMethod(obj.getClass(), method_name, args); if(method != null) { target=obj;