|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.scrplugin.helper.AnnotationProcessorManager
public class AnnotationProcessorManager
Supports mapping of built-in and custom java annotations to descriptions.
Constructor Summary | |
---|---|
AnnotationProcessorManager(Log log,
java.lang.ClassLoader classLoader)
Create annotation processor manager. |
Method Summary | |
---|---|
java.lang.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationProcessorManager(Log log, java.lang.ClassLoader classLoader) throws SCRDescriptorFailureException
SCRDescriptorFailureException
Method Detail |
---|
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 java.lang.String getName()
AnnotationProcessor
getName
in interface AnnotationProcessor
AnnotationProcessor.getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |