blob: 58894dd1072bbbb6f30fde4b180927bcc1ec7d84 [file] [log] [blame]
Stuart McCulloch26e7a5a2011-10-17 10:31:43 +00001package aQute.bnd.annotation.component;
2
3import java.lang.annotation.*;
4
5@Retention(RetentionPolicy.CLASS)
6@Target(ElementType.METHOD)
7public @interface Reference {
8 String RNAME = "LaQute/bnd/annotation/component/Reference;";
9 String NAME = "name";
10 String SERVICE = "service";
11 String OPTIONAL = "optional";
12 String MULTIPLE = "multiple";
13 String DYNAMIC = "dynamic";
14 String TARGET = "target";
15 String TYPE = "type";
16 String UNBIND = "unbind";
17
18 String name() default "";
19
20 Class<?> service() default Object.class;
21
22 boolean optional() default false;
23
24 boolean multiple() default false;
25
26 boolean dynamic() default false;
27
28 String target() default "";
29
30 String unbind() default "";
31
32 char type() default 0;
33}