Java Reference
In-Depth Information
appendix B:
OSGi standard services
This appendix lists the Core, Compendium, and Enterprise services defined in
release 4.2 of the OSG i specification. All services are optional: some are available
from framework vendors, others are available from third-party vendors. Most ser-
vice implementations work with any OSG i R4 framework.
B.1
Core OSGi services
Ta b l e B . 1 l i s t s t h e s e r v i c e s d e f i n e d i n t h e OSG i 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
528
 
Search WWH ::




Custom Search