aQute.bnd.annotation.component.Reference Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bndlib Show documentation
Show all versions of bndlib Show documentation
The bndlib project is a general library to be used with OSGi bundles. It contains
lots of cool functionality that calculates dependencies, etc.
package aQute.bnd.annotation.component;
import java.lang.annotation.*;
@Retention(RetentionPolicy.CLASS)
@Target(ElementType.METHOD)
public @interface Reference {
String RNAME = "LaQute/bnd/annotation/component/Reference;";
String NAME = "name";
String SERVICE = "service";
String OPTIONAL = "optional";
String MULTIPLE = "multiple";
String DYNAMIC = "dynamic";
String TARGET = "target";
String TYPE = "type";
String UNBIND = "unbind";
String name() default "";
Class< ? > service() default Object.class;
boolean optional() default false;
boolean multiple() default false;
boolean dynamic() default false;
String target() default "";
String unbind() default "";
char type() default 0;
}