code: public synchronized ObjectName register(PublishAllBeanWrapper wrapper) throws JMException {
  		ReflectionMbean mbean;
  		try {
  			mbean = new ReflectionMbean(wrapper);
  		} catch (Exception e) {
  			throw createJmException("Could not build mbean object for publish-all bean: " + wrapper.getTarget(), e);
  		}
  		ObjectName objectName = ObjectNameUtil.makeObjectName(wrapper.getJmxResourceInfo());
  		doRegister(objectName, mbean);
  		return objectName;
  	}
docs: Register the object parameter for exposure with JMX that is wrapped using the PublishAllBeanWrapper.