@SupportedAnnotationTypes(value="org.bridje.ioc.Component") @SupportedSourceVersion(value=RELEASE_8) public class ComponentProcessor extends ClassListPropertyFile
Component annotation.| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENTS_RESOURCE_FILE
IOC Components declaration file.
|
processingEnv| Constructor and Description |
|---|
ComponentProcessor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFileName()
Gets the name for the file that will be written by this annotation processor.
|
void |
processElement(Element element)
This method will be called for each component class found by this processor.
|
appendProperty, init, processgetCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitializedpublic static final String COMPONENTS_RESOURCE_FILE
public String getFileName()
ClassListPropertyFilegetFileName in class ClassListPropertyFilepublic void processElement(Element element) throws IOException
ClassListPropertyFileprocessElement in class ClassListPropertyFileelement - The element representing the current component class.IOException - If the component cannot be written to the file.Copyright © 2015–2019 Bridje Framework. All rights reserved.