public class AnnotationProcessorManager extends Object implements AnnotationProcessor
Constructor and Description |
---|
AnnotationProcessorManager(Log log,
ClassLoader classLoader)
Create annotation processor manager.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
A user friendly name
|
int |
getRanking()
The ranking of this processor.
|
void |
process(ScannedClass scannedClass,
ClassDescription describedClass)
Processes annotations from the provided scanned class and adds
descriptions to the object model based on the read annotations.
|
public AnnotationProcessorManager(Log log, ClassLoader classLoader) throws SCRDescriptorFailureException
SCRDescriptorFailureException
public void process(ScannedClass scannedClass, ClassDescription describedClass) throws SCRDescriptorException, SCRDescriptorFailureException
AnnotationProcessor
process
in interface AnnotationProcessor
scannedClass
- The scanned class.describedClass
- The description container.SCRDescriptorException
SCRDescriptorFailureException
AnnotationProcessor.process(org.apache.felix.scrplugin.annotations.ScannedClass, org.apache.felix.scrplugin.description.ClassDescription)
public int getRanking()
AnnotationProcessor
getRanking
in interface AnnotationProcessor
AnnotationProcessor.getRanking()
public String getName()
AnnotationProcessor
getName
in interface AnnotationProcessor
AnnotationProcessor.getName()
Copyright © 2006–2024 The Apache Software Foundation. All rights reserved.