protected Object invoke(ObjectName resource,String operationName,Object[] params,String[] signature) throws JMXInvocationException {
  try {
    return mbsc.invoke(resource,operationName,params,signature);
  }
 catch (  InstanceNotFoundException e) {
    throw new JMXInvocationException(resource + " is not registered in the MBean server.",e);
  }
catch (  MBeanException e) {
    throw new JMXInvocationException("Exception while invoking " + operationName + " on "+ resource,e);
  }
catch (  ReflectionException e) {
    throw new JMXInvocationException("Couldn't find " + operationName + " on "+ resource+ " with arguments "+ Arrays.toString(signature),e);
  }
catch (  IOException e) {
    throw new JMXInvocationException("Couldn't communicate with remote server at " + toString(),e);
  }
}

protected Object invoke ( ObjectName resource , String operationName , Object [ ] params , String [ ] signature ) throws JMXInvocationException { try { return mbsc . invoke ( resource , operationName , params , signature ) ; } catch ( InstanceNotFoundException e ) { throw new JMXInvocationException ( resource + " is not registered in the MBean server." , e ) ; } catch ( MBeanException e ) { throw new JMXInvocationException ( "Exception while invoking " + operationName + " on " + resource , e ) ; } catch ( ReflectionException e ) { throw new JMXInvocationException ( "Couldn't find " + operationName + " on " + resource + " with arguments " + Arrays . toString ( signature ) , e ) ; } catch ( IOException e ) { throw new JMXInvocationException ( "Couldn't communicate with remote server at " + toString ( ) , e ) ; } }
jmx specific operation invoke caller .
