aQute.bnd.component
Class AnnotationReader
java.lang.Object
aQute.bnd.osgi.ClassDataCollector
aQute.bnd.component.AnnotationReader
public class AnnotationReader
- extends ClassDataCollector
fixup any unbind methods To declare no unbind method, the value "-" must be
used. If not specified, the name of the unbind method is derived from the
name of the annotated bind method. If the annotated method name begins with
set, that is replaced with unset to derive the unbind method name. If the
annotated method name begins with add, that is replaced with remove to derive
the unbind method name. Otherwise, un is prefixed to the annotated method
name to derive the unbind method name.
| Methods inherited from class aQute.bnd.osgi.ClassDataCollector |
addReference, annotationDefault, classEnd, classStart, classStart, constant, deprecated, enclosingMethod, field, innerClass, memberEnd, parameter, referenceMethod, referTo, signature, version |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
V1_0
public static final Version V1_0
V1_1
public static final Version V1_1
V1_2
public static final Version V1_2
V1_3
public static final Version V1_3
FELIX_1_2
public static final String FELIX_1_2
- See Also:
- Constant Field Values
getDefinition
public static aQute.bnd.component.ComponentDef getDefinition(Clazz c,
Analyzer analyzer)
throws Exception
- Throws:
Exception
referredMethod
protected String referredMethod(Analyzer analyzer,
aQute.bnd.component.ReferenceDef rdef,
String value,
String... matches)
- Parameters:
analyzer - rdef -
annotation
public void annotation(Annotation annotation)
- Overrides:
annotation in class ClassDataCollector
doActivate
protected void doActivate()
doDeactivate
protected void doDeactivate()
doModified
protected void doModified()
doReference
protected void doReference(Reference reference,
Annotation raw)
throws Exception
- Parameters:
annotation -
- Throws:
Exception
doComponent
protected void doComponent(Component comp,
Annotation annotation)
throws Exception
- Parameters:
annotation -
- Throws:
Exception
classBegin
public void classBegin(int access,
Descriptors.TypeRef name)
- Are called during class parsing
- Overrides:
classBegin in class ClassDataCollector
implementsInterfaces
public void implementsInterfaces(Descriptors.TypeRef[] interfaces)
- Overrides:
implementsInterfaces in class ClassDataCollector
method
public void method(Clazz.MethodDef method)
- Overrides:
method in class ClassDataCollector
extendsClass
public void extendsClass(Descriptors.TypeRef name)
- Overrides:
extendsClass in class ClassDataCollector
Copyright © 2014 aQute SARL. All rights reserved.