beanDefinitionReader.setDocumentReaderClass(MunitBeanDefinitionDocumentReader.class);
//add error reporting
beanFactory.registerBeanDefinition(MunitMessageProcessorInterceptorFactory.ID, new RootBeanDefinition(MunitMessageProcessorInterceptorFactory.class));
beanFactory.registerBeanDefinition(ConnectorMethodInterceptorFactory.ID, new RootBeanDefinition(ConnectorMethodInterceptorFactory.class));
beanDefinitionReader.setProblemReporter(new MissingParserProblemReporter());
beanFactory.getBean(MunitMessageProcessorInterceptorFactory.ID);
if (configuration != null) {
RootBeanDefinition beanDefinition = new RootBeanDefinition();