Appendix B. OSGi standard services

 

This appendix lists the Core, Compendium, and Enterprise services defined in release 4.2 of the OSGi specification. All services are optional: some are available from framework vendors, others are available from third-party vendors. Most service implementations work with any OSGi R4 framework.

B.1. Core OSGi services

Table B.1 lists the services defined in the OSGi Core specification. All of them are optional singleton services provided by the framework, except for the Service Hooks which may have zero or more instances registered by other bundles.

Table B.1. Core OSGi services

Name

Description

Package

Version

Package Admin Provides the ability to control and reflect over bundle- and package-level wiring org.osgi.service.packageadmin 1.2
Start Level Controls the relative order of bundle startup by assigning start levels to bundles org.osgi.service.startlevel 1.1
Conditional Permission Admin Enables permission assignment to bundles based on arbitrary conditions org.osgi.service.condpermadmin 1.1
Permission Admin Enables permission assignment to bundles based on bundle location org.osgi.service.permissionadmin 1.2
URL Handlers Multiplexes URL and content-handler factories to allow bundles to provide custom handlers org.osgi.service.url 1.0
Service Hooks Allows bundles to monitor and limit service registry events and access org.osgi.framework.hooks.service 1.0

B.2. Compendium OSGi services

B.3. Enterprise OSGi services