Annotation Interface RequireConfigurator


@Documented @Retention(CLASS) @Target({TYPE,PACKAGE}) @Requirement(namespace="osgi.extender", name="osgi.configurator", version="1.0") public @interface RequireConfigurator
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 value()

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    This attribute can be used to define one or more locations that the configurator must search, in order, for configuration files.
  • Element Details

    • value

      @Attribute("configurations") 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:
      A list of bundle locations containing configuration files
      Default:
      {}