Class ConfiguratorConstants


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

      Fields 
      Modifier and Type Field Description
      static java.lang.String CONFIGURATOR_BINARIES
      Framework property specifying the directory to be used by the Configurator to store binary files.
      static java.lang.String CONFIGURATOR_EXTENDER_NAME
      The name of the extender capability attribute for the Configurator
      static java.lang.String CONFIGURATOR_INITIAL
      Framework property specifying initial configurations to be applied by the Configurator on startup.
      static java.lang.String CONFIGURATOR_SPECIFICATION_VERSION
      The version of the extender capability for the Configurator specification
      static java.lang.String POLICY_DEFAULT
      Value for defining the default policy.
      static java.lang.String POLICY_FORCE
      Value for defining the force policy.
      static java.lang.String PROPERTY_POLICY
      Configuration property for the configuration policy.
      static java.lang.String PROPERTY_PREFIX
      Prefix to mark properties as input for the Configurator when processing a configuration resource.
      static java.lang.String PROPERTY_RANKING
      Configuration property for the configuration ranking.
      static java.lang.String PROPERTY_RESOURCE_VERSION
      Global property in the configuration resource specifying the version of the resource format.
      static java.lang.String PROPERTY_SYMBOLIC_NAME
      Global property in the configuration resource specifying the symbolic name of the configuration resource.
      static java.lang.String PROPERTY_VERSION
      Global property in the configuration resource specifying the version of the resource.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CONFIGURATOR_INITIAL

        public static final java.lang.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:
        Constant Field Values
      • CONFIGURATOR_BINARIES

        public static final java.lang.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:
        Constant Field Values
      • PROPERTY_PREFIX

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

        public static final java.lang.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:
        Constant Field Values
      • PROPERTY_SYMBOLIC_NAME

        public static final java.lang.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:
        Constant Field Values
      • PROPERTY_VERSION

        public static final java.lang.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:
        Constant Field Values
      • PROPERTY_RANKING

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

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

        See Also:
        Constant Field Values
      • CONFIGURATOR_EXTENDER_NAME

        public static final java.lang.String CONFIGURATOR_EXTENDER_NAME
        The name of the extender capability attribute for the Configurator
        See Also:
        Constant Field Values
      • CONFIGURATOR_SPECIFICATION_VERSION

        public static final java.lang.String CONFIGURATOR_SPECIFICATION_VERSION
        The version of the extender capability for the Configurator specification
        See Also:
        Constant Field Values