private String gatherBootstrapState () { List<BootstrapState> collectors = SpringApplicationContext.listBeansOfType(BootstrapState.class); for (BootstrapState collector : collectors) { collector.saveBootstrapState(); } Properties result = serverProps.getBootstrapState(); String output = messageConverter.toXML(result); return output; }