Previous Topic

Next Topic

Book Contents

Book Index

System Properties

The OSGi Subsystem Core Bundle owns the following user-definable system properties:

System Property

Type

Default Value

Description

mbs.subsystem.restore.delay

int

100

The period to recheck for the correct state of the subsystem region bundles.

mbs.subsystem.deriveNestedLocations

boolean

true

Construct the location of the nested subsystems by including the parent subsystems locations.

mbs.subsystem.bundle.ops.timeout

int

30000

The maximum allowed timeout for bundle operations within a subsystem.

mbs.subsystem.clean

boolean

true

Uninstalls generated region context bundles when subsystem bundle is being stopped, if enabled.

mbs.subsystem.waitOps

boolean

true

Waits for all pending subsystem operations to end for a given timeout when subsystem bundle is being stopped, if enabled.

mbs.subsystem.finishTime

int

8000

The timeout for waiting pending subsystem operations (in ms) on bundle stop.

mbs.subsystem.deleteArchive

boolean

true

Indicates, whether the delete the subsystem archive after subsystem installation.

mbs.subsystem.localizedHeaders.cache

boolean

false

Caches localization entries into memory(OSGI-INF/*.properties) for a subsystem if enabled.

mbs.subsystem.packages.refresh.timeout

int

30000

The maximum timeout to receive FrameworkEvent with type PACKAGES_REFRESHED.

mbs.subsystem.manifestParser.complete

boolean

false

Process all sections (ignores all empty lines) of subsystem manifest if enabled.

mbs.subsystems.base

String

../../../subsystems

The folder to look for subsystem archives. The lookup is performed each time the subsystem is installed or updated.

mbs.subsystem.forceGC

boolean

true

Invokes the java garbage collector on subsystem uninstall if enabled.

mbs.subsystem.forceGC.timeout

int

500

The timeout after invoking the garbage collector (if enabled) in ms.

mbs.subsystem.startDependentResources

boolean

false

Indicates whether to start all dependent resources. Also if there are unresolved fragment bundles after execution of a lifecycle operation on a subsystem, it indicates whether to call PackageAdmin.refreshPackages for the host bundles, for which there are such unresolved fragment bundles from the subsystem.