aQute.bnd.annotation.component.Component 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.TYPE)
public @interface Component {
String RNAME = "LaQute/bnd/annotation/component/Component;";
String PROVIDE = "provide";
String NAME = "name";
String FACTORY = "factory";
String SERVICEFACTORY = "servicefactory";
String IMMEDIATE = "immediate";
String CONFIGURATION_POLICY = "configurationPolicy";
String ENABLED = "enabled";
String PROPERTIES = "properties";
String VERSION = "version";
String DESIGNATE = "designate";
String DESIGNATE_FACTORY = "designateFactory";
String name() default "";
Class< ? >[] provide() default Object.class;
String factory() default "";
boolean servicefactory() default false;
boolean enabled() default true;
boolean immediate() default false;
ConfigurationPolicy configurationPolicy() default ConfigurationPolicy.optional;
String[] properties() default {};
Class< ? > designate() default Object.class;
Class< ? > designateFactory() default Object.class;
}