code: @Bean
  	public boolean adminToolMbeansExported(MBeanServer server, BeanFactory beanFactory, List<AdminToolConfig> configs) throws MalformedObjectNameException {
  		MBeanExporter mbeanExporter = new MBeanExporter();
  		mbeanExporter.setServer(server);
  		mbeanExporter.setBeanFactory(beanFactory);
  		SimpleReflectiveMBeanInfoAssembler assembler = new SimpleReflectiveMBeanInfoAssembler();
  		mbeanExporter.setAssembler(assembler);
  		mbeanExporter.setAutodetect(true);
  		LOGGER.info("registering %s managed admintool config resources", configs.size());
  		for (AdminToolConfig adminToolConfig : configs) {
  			LOGGER.info("registering managed resource: %s", adminToolConfig.getClass().getName());
  			ObjectName name = new ObjectName(String.format("de.chandre.admintool:type=Config,name=%s", adminToolConfig.getClass().getSimpleName()));
  			mbeanExporter.registerManagedResource(adminToolConfig, name);
  		}
  		return true;
  	}
docs: maybe not reasonable to export all configuration beans as mbeans, especially configurations like fileBrowser or dbBrowser
  
  @param mbeanExporter
  @param configs
  @return
  @throws MalformedObjectNameException