Search in sources :

Example 1 with SoapExtensionModelLoader

use of org.mule.runtime.module.extension.soap.api.loader.SoapExtensionModelLoader in project mule by mulesoft.

the class SoapExtensionResourcesGeneratorAnnotationProcessor method getExtensionModelLoader.

@Override
protected ExtensionModelLoader getExtensionModelLoader() {
    return new SoapExtensionModelLoader() {

        @Override
        protected void configureContextBeforeDeclaration(ExtensionLoadingContext context) {
            super.configureContextBeforeDeclaration(context);
            context.addCustomDeclarationEnricher(new DescriptionDeclarationEnricher());
        }
    };
}
Also used : SoapExtensionModelLoader(org.mule.runtime.module.extension.soap.api.loader.SoapExtensionModelLoader) ExtensionLoadingContext(org.mule.runtime.extension.api.loader.ExtensionLoadingContext) DescriptionDeclarationEnricher(org.mule.runtime.module.extension.internal.capability.xml.description.DescriptionDeclarationEnricher)

Aggregations

ExtensionLoadingContext (org.mule.runtime.extension.api.loader.ExtensionLoadingContext)1 DescriptionDeclarationEnricher (org.mule.runtime.module.extension.internal.capability.xml.description.DescriptionDeclarationEnricher)1 SoapExtensionModelLoader (org.mule.runtime.module.extension.soap.api.loader.SoapExtensionModelLoader)1