public void removeOperation(String name) {
    if (name == null || name.length() < 1) {
      return;
    }

    synchronized (operations) {
      List operationsList = new ArrayList(operations.length);
      for (final OperationInfo operation : operations) {
        if (!name.equals(operation.getName())) {
          operationsList.add(operation);
        }
      }
      operations =
          (OperationInfo[]) operationsList.toArray(new OperationInfo[0]);

      /*
       * super.info should be nulled out anytime the structure is changed, such as altering the
       * operations, operations, or notifications
       *
       * however super.info is private, so we need the following hack to cause the super class to
       * null it out for us...
       */
      setType(type); // causes this in super: "this.info = null;"
    }
  }
Removes the operation with the given name from thie <code>ManageBean</code>'s operation
descriptor list.

@since GemFire 4.0
geode-core/src/main/java/org/apache/geode/admin/jmx/internal/DynamicManagedBean.java