code: public Set<ObjectName> getBeanNames(String domain) throws JMException {
  		checkClientConnected();
  		try {
  			return mbeanConn.queryNames(ObjectName.getInstance(domain + ":*"), null);
  		} catch (IOException e) {
  			throw createJmException("Problems querying for jmx bean names: " + e, e);
  		}
  	}
docs: Return a set of the various bean ObjectName objects associated with the Jmx server.