code: public MBeanOperationInfo[] getMBeanOperations(String name) throws Exception {
          MBeanServer mBeanServer = ManagementFactory.getPlatformMBeanServer();
          MBeanInfo mBeanInfo = mBeanServer.getMBeanInfo(new ObjectName(name));
          return mBeanInfo.getOperations();
      }
docs: Return all operations for the specified mbean name
  @param name
  @return
  @throws Exception