use of org.mule.runtime.module.extension.internal.capability.xml.description.DescriptionDeclarationEnricher in project mule by mulesoft.
the class ExtensionResourcesGeneratorAnnotationProcessor method getExtensionModelLoader.
@Override
protected ExtensionModelLoader getExtensionModelLoader() {
return new DefaultJavaExtensionModelLoader() {
@Override
protected void configureContextBeforeDeclaration(ExtensionLoadingContext context) {
super.configureContextBeforeDeclaration(context);
context.addCustomDeclarationEnricher(new DescriptionDeclarationEnricher());
context.addCustomValidator(new ExportedPackagesValidator());
}
};
}
use of org.mule.runtime.module.extension.internal.capability.xml.description.DescriptionDeclarationEnricher 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());
}
};
}
Aggregations