Class ConfiguratorConstants
- java.lang.Object
-
- org.osgi.service.configurator.ConfiguratorConstants
-
public final class ConfiguratorConstants extends java.lang.ObjectDefines standard constants for the Configurator services.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONFIGURATOR_BINARIESFramework property specifying the directory to be used by the Configurator to store binary files.static java.lang.StringCONFIGURATOR_EXTENDER_NAMEThe name of the extender capability attribute for the Configuratorstatic java.lang.StringCONFIGURATOR_INITIALFramework property specifying initial configurations to be applied by the Configurator on startup.static java.lang.StringCONFIGURATOR_SPECIFICATION_VERSIONThe version of the extender capability for the Configurator specificationstatic java.lang.StringPOLICY_DEFAULTValue for defining the default policy.static java.lang.StringPOLICY_FORCEValue for defining the force policy.static java.lang.StringPROPERTY_POLICYConfiguration property for the configuration policy.static java.lang.StringPROPERTY_PREFIXPrefix to mark properties as input for the Configurator when processing a configuration resource.static java.lang.StringPROPERTY_RANKINGConfiguration property for the configuration ranking.static java.lang.StringPROPERTY_RESOURCE_VERSIONGlobal property in the configuration resource specifying the version of the resource format.static java.lang.StringPROPERTY_SYMBOLIC_NAMEGlobal property in the configuration resource specifying the symbolic name of the configuration resource.static java.lang.StringPROPERTY_VERSIONGlobal property in the configuration resource specifying the version of the resource.
-
-
-
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
1is defined for the JSON format and therefore the only allowed value is1for this property. If this property is not specified,1is 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
-
PROPERTY_POLICY
public static final java.lang.String PROPERTY_POLICY
Configuration property for the configuration policy.Allowed values are
POLICY_DEFAULTandPOLICY_FORCE- See Also:
POLICY_DEFAULT,POLICY_FORCE, Constant Field Values
-
POLICY_DEFAULT
public static final java.lang.String POLICY_DEFAULT
Value for defining the default policy.- See Also:
PROPERTY_POLICY, Constant Field Values
-
POLICY_FORCE
public static final java.lang.String POLICY_FORCE
Value for defining the force policy.- See Also:
PROPERTY_POLICY, 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
-
-