Top Description Fields Constructors Methods
org.osgi.service.configurator

public final Class ConfiguratorConstants

extends Object
Class Inheritance

Defines standard constants for the Configurator services.
Author
$Id: a7be33b8353e1484f5ba19000ce7579846de6d6c $

Field Summary

Modifier and TypeField and Description
public static final String
CONFIGURATOR_BINARIES

Framework property specifying the directory to be used by the Configurator to store binary files.

public static final String
CONFIGURATOR_EXTENDER_NAME

The name of the extender capability attribute for the Configurator

public static final String
CONFIGURATOR_INITIAL

Framework property specifying initial configurations to be applied by the Configurator on startup.

public static final String
CONFIGURATOR_SPECIFICATION_VERSION

The version of the extender capability for the Configurator specification

public static final String
POLICY_DEFAULT

Value for defining the default policy.

public static final String
POLICY_FORCE

Value for defining the force policy.

public static final String
PROPERTY_POLICY

Configuration property for the configuration policy.

public static final String
PROPERTY_PREFIX

Prefix to mark properties as input for the Configurator when processing a configuration resource.

public static final String
PROPERTY_RANKING

Configuration property for the configuration ranking.

public static final String
PROPERTY_RESOURCE_VERSION

Global property in the configuration resource specifying the version of the resource format.

public static final String
PROPERTY_SYMBOLIC_NAME

Global property in the configuration resource specifying the symbolic name of the configuration resource.

public static final String
PROPERTY_VERSION

Global property in the configuration resource specifying the version of the resource.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CONFIGURATOR_BINARIESback to summary
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.

CONFIGURATOR_EXTENDER_NAMEback to summary
public static final String CONFIGURATOR_EXTENDER_NAME

The name of the extender capability attribute for the Configurator

CONFIGURATOR_INITIALback to summary
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.

CONFIGURATOR_SPECIFICATION_VERSIONback to summary
public static final String CONFIGURATOR_SPECIFICATION_VERSION

The version of the extender capability for the Configurator specification

POLICY_DEFAULTback to summary
public static final String POLICY_DEFAULT

Value for defining the default policy.

See Also
PROPERTY_POLICY
POLICY_FORCEback to summary
public static final String POLICY_FORCE

Value for defining the force policy.

See Also
PROPERTY_POLICY
PROPERTY_POLICYback to summary
public static final String PROPERTY_POLICY

Configuration property for the configuration policy.

Allowed values are POLICY_DEFAULT and POLICY_FORCE

See Also
POLICY_DEFAULT, POLICY_FORCE
PROPERTY_PREFIXback to summary
public static final String PROPERTY_PREFIX

Prefix to mark properties as input for the Configurator when processing a configuration resource.

PROPERTY_RANKINGback to summary
public static final String PROPERTY_RANKING

Configuration property for the configuration ranking.

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

PROPERTY_RESOURCE_VERSIONback to summary
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.

PROPERTY_SYMBOLIC_NAMEback to summary
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

PROPERTY_VERSIONback to summary
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.

Constructor Detail

ConfiguratorConstantsback to summary
private ConfiguratorConstants()