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.5,2.0)"
Example import for providers implementing the API in this package:
Import-Package: org.osgi.service.component; version="[1.5,1.6)"
| Modifier and Type | Interface and Description |
|---|---|
| public interface | ComponentConstants
Defines standard names for Service Component constants. |
| public interface | ComponentContext
A Component Context object is used by a component instance to interact with its execution context including locating services by reference name. |
| public interface | ComponentFactory<
Type of Service S>When a component is declared with the |
| public interface | ComponentInstance<
Type of Service S>A ComponentInstance encapsulates a component instance of an activated component configuration. |
| public interface | ComponentServiceObjects<
Type of Service S>Allows multiple service objects for a service to be obtained. |
| Modifier and Type | Class and Description |
|---|---|
| public class | AnyService
A marker type whose name is used in the |
| public class | ComponentException
Unchecked exception which may be thrown by Service Component Runtime. |