Class ConfiguratorConstants

java.lang.Object
org.osgi.service.configurator.ConfiguratorConstants

public final class ConfiguratorConstants extends Object
Defines standard constants for the Configurator services.
  • Field Details

    • CONFIGURATOR_INITIAL

      public static final String CONFIGURATOR_INITIAL
      Framework property specifying initial configurations to be applied by the Configurator on startup.

      If the value of this property starts with a '{' (ignoring leading whitespace) it is interpreted as JSON and directly feed into the Configurator.

      Otherwise the value is interpreted as a comma separated list of URLs pointing to JSON documents.

      See Also:
    • CONFIGURATOR_BINARIES

      public static final String CONFIGURATOR_BINARIES
      Framework property specifying the directory to be used by the Configurator to store binary files.

      If a value is specified, the Configurator will write all binaries to the given directory. Therefore the Configurator bundle needs read and write access to this directory.

      If this property is not specified, the Configurator will store all binary files in its bundle private data area.

      See Also:
    • PROPERTY_PREFIX

      public static final String PROPERTY_PREFIX
      Prefix to mark properties as input for the Configurator when processing a configuration resource.
      See Also:
    • PROPERTY_RESOURCE_VERSION

      public static final String PROPERTY_RESOURCE_VERSION
      Global property in the configuration resource specifying the version of the resource format.

      Currently only version 1 is defined for the JSON format and therefore the only allowed value is 1 for this property. If this property is not specified, 1 is assumed.

      See Also:
    • PROPERTY_SYMBOLIC_NAME

      public static final String PROPERTY_SYMBOLIC_NAME
      Global property in the configuration resource specifying the symbolic name of the configuration resource. If not specified the symbolic name of the bundle containing the resource is used. Mandatory for configuration resources that do not reside in a bundle
      See Also:
    • PROPERTY_VERSION

      public static final String PROPERTY_VERSION
      Global property in the configuration resource specifying the version of the resource. If not specified the version of the bundle containing the resource is used. Mandatory for configuration resources that do not reside in a bundle.
      See Also:
    • PROPERTY_RANKING

      public static final String PROPERTY_RANKING
      Configuration property for the configuration ranking.

      The value of this property must be convertible to a number.

      See Also:
    • PROPERTY_POLICY

      public static final String PROPERTY_POLICY
      Configuration property for the configuration policy.

      Allowed values are POLICY_DEFAULT and POLICY_FORCE

      See Also:
    • POLICY_DEFAULT

      public static final String POLICY_DEFAULT
      Value for defining the default policy.
      See Also:
    • POLICY_FORCE

      public static final String POLICY_FORCE
      Value for defining the force policy.
      See Also:
    • CONFIGURATOR_EXTENDER_NAME

      public static final String CONFIGURATOR_EXTENDER_NAME
      The name of the extender capability attribute for the Configurator
      See Also:
    • CONFIGURATOR_SPECIFICATION_VERSION

      public static final String CONFIGURATOR_SPECIFICATION_VERSION
      The version of the extender capability for the Configurator specification
      See Also: