Top Description Methods
org.osgi.service.configurator.annotations

public @Interface RequireConfigurator

extends Annotation
Annotations
@Documented
@Retention:CLASS
@Target:TYPE, PACKAGE
@Requirement
namespace:osgi.extender
name:osgi.configurator
version:1.0
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target, org.osgi.annotation.bundle.Attribute, .Requirement, org.osgi.namespace.extender.ExtenderNamespace, org.osgi.service.configurator.ConfiguratorConstants

This annotation can be used to require the Configurator extender. It can be used directly, or as a meta-annotation.

This annotation allows users to define custom locations that should be searched for configuration files using RequireConfigurator#value()

Author
$Id: a3d575745e63dd7b8013785b5e25cf9141337518 $

Method Summary

Modifier and TypeMethod and Description
public String[]

Returns:

A list of bundle locations containing configuration files
value
()

This attribute can be used to define one or more locations that the configurator must search, in order, for configuration files.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String[] value()

This attribute can be used to define one or more locations that the configurator must search, in order, for configuration files.

If no locations are defined then the Configurator default of /OSGI-INF/configurator will be used.

Returns:String[]

A list of bundle locations containing configuration files

Annotations
@Attribute:configurations