OSGi™ Enterprise
Release 5

Package org.osgi.service.component

Service Component Package Version 1.2.


Interface Summary
ComponentConstants Defines standard names for Service Component constants.
ComponentContext A Component Context object is used by a component instance to interact with its execution context including locating services by reference name.
ComponentFactory When a component is declared with the factory attribute on its component element, the Service Component Runtime will register a Component Factory service to allow new component configurations to be created and activated rather than automatically creating and activating component configuration as necessary.
ComponentInstance A ComponentInstance encapsulates a component instance of an activated component configuration.

Exception Summary
ComponentException Unchecked exception which may be thrown by the Service Component Runtime.

Package org.osgi.service.component Description

Service Component Package Version 1.2.

Bundles wishing to use this package must list the package in the Import-Package header of the bundle's manifest. This package has two types of users: the consumers that use the API in this package and the providers that implement the API in this package.

Example import for consumers using the API in this package:

Import-Package: org.osgi.service.component; version="[1.2,2.0)"

Example import for providers implementing the API in this package:

Import-Package: org.osgi.service.component; version="[1.2,1.3)"

OSGi™ Enterprise
Release 5

Copyright © OSGi Alliance (2000, 2012). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0