Example usage for org.springframework.integration.config IntegrationRegistrar IntegrationRegistrar

List of usage examples for org.springframework.integration.config IntegrationRegistrar IntegrationRegistrar

Introduction

In this page you can find the example usage for org.springframework.integration.config IntegrationRegistrar IntegrationRegistrar.

Prototype

IntegrationRegistrar

Source Link

Usage

From source file:org.springframework.integration.config.xml.AbstractIntegrationNamespaceHandler.java

@Override
public final BeanDefinition parse(Element element, ParserContext parserContext) {
    this.verifySchemaVersion(element, parserContext);
    IntegrationRegistrar integrationRegistrar = new IntegrationRegistrar();
    integrationRegistrar.setBeanClassLoader(parserContext.getReaderContext().getBeanClassLoader());
    integrationRegistrar.registerBeanDefinitions(null, parserContext.getRegistry());
    return this.delegate.parse(element, parserContext);
}