@SupportedAnnotationTypes(value="org.mule.extension.annotations.Extension") @SupportedSourceVersion(value=RELEASE_7) public class ExtensionResourcesGeneratorAnnotationProcessor extends AbstractProcessor
Extension
and use a
ResourcesGenerator
to generated
the required resources.
This annotation processor will automatically generate and package into the output jar
the XSD schema, spring bundles and extension registration files
necessary for mule to work with this extension.
Depending on the capabilities declared by each extension, some of those resources
might or might not be generatedModifier and Type | Field and Description |
---|---|
static String |
EXTENSION_ELEMENT |
static String |
PROCESSING_ENVIRONMENT |
static String |
ROUND_ENVIRONMENT |
processingEnv
Constructor and Description |
---|
ExtensionResourcesGeneratorAnnotationProcessor() |
Modifier and Type | Method and Description |
---|---|
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized
public static final String PROCESSING_ENVIRONMENT
public static final String EXTENSION_ELEMENT
public static final String ROUND_ENVIRONMENT
public ExtensionResourcesGeneratorAnnotationProcessor()
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process
in interface Processor
process
in class AbstractProcessor
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.