code: public Object invoke(ObjectName name, String operationName, Object[] params,
                           String[] signature)
                      throws InstanceNotFoundException, MBeanException, ReflectionException {
  
          Object o = getMBeanServer().invoke(name, operationName, params, signature);
  
          return o;
      }
docs: /*
  Invokes an operation on a managed object.
  Throws:
  javax.management.InstanceNotFoundException
  javax.management.MBeanException
  javax.management.ReflectionException
  java.rmi.RemoteException
  Parameters:
  name - The object name of the managed object on which the method is
  to be invoked.
  operationName - The name of the operation to be invoked.
  params - An array containing the parameters to be set when the
  operation is invoked
  signature - An array containing the signature of the operation. Each
  element of the array contains a fully-qualified name of the entity (class,
  interface, array class, primitive type) that corresponds with a parameter
  type in the method’s signature. The format of the strings must be as
  specified by java.lang.Class.getName(). The class objects will be loaded
  using the same class loader as the one used for loading the managed
  object on which the operation was invoked.
  Returns:
  The object returned by the operation, which represents the result of
  invoking the operation on the managed object specified.