Previous Topic

Next Topic

Book Contents

Book Index

Subsystem Service

Provides information about the implementation of OSGi Subsystem specification.

Overview

The implementation of OSGi Subsystem specification provides subsystem management functionality. A subsystem is represented by a set of resources, which has own import/export policy. Currently supported resources are: bundles and subsystems. All subsystems are hierarchically ordered in a directed acyclic graph (which in most user cases is a tree). Subsystem service supports the following operations:

Auto-completion of subsystem file names is supported to allow deploying subsystems with build version suffix and installing them only by the name. For its usage and example refer to Auto-completion of Subsystem File Names.

Registering Bundle

The service is registered by: OSGi Subsystem Bundle, OSGi Subsystem Core Bundle.

Subsystem Hierarchy

Subsystem Resource

The Subsystem implementation provides a public Subsystem API (refer to Java API) for access and modification. Following functionality is supported:

Subsystem Policies, Types and Regions

Policies

Types

Following types are supported:

Regions

Each region defines its own sharing policy. It is determined by the main subsystem type in the region (application or composite). Root subsystems are always of type application.

Sharing Policy and Visibility

Each subsystem region provides isolation of its own. This functionality covers package imports/exports, generic capabilities (except for osgi.native and osgi.ee), bundle and service visibility, and event filtering.