code: public static Set<ObjectInstance> queryMBeans(ObjectName objectName, QueryExp queryExp) {
  		return mbeanServer.queryMBeans(objectName, queryExp);
  	}
docs: Gets MBeans controlled by the MBean server. This method allows any of the following to be obtained: All MBeans, a
  set of MBeans specified by pattern matching on the ObjectName and/or a Query expression, a specific MBean. When
  the object name is null or no domain and key properties are specified, all objects are to be selected (and
  filtered if a query is specified). It returns the set of ObjectInstance objects (containing the ObjectName and
  the Java Class name) for the selected MBeans.
  
  @param objectName The object name pattern identifying the MBeans to be retrieved. If null or no domain and key
  properties are specified, all the MBeans registered will be retrieved.
  @param queryExp   The query expression to be applied for selecting MBeans. If null no query expression will be
  applied for selecting MBean
  @return A set containing the ObjectInstance objects for the selected MBeans. If no MBean satisfies the query an
  empty list is returned.