org.osgi.service.obr
Interface CapabilityProvider


public interface CapabilityProvider

This service interface allows third parties to provide capabilities that are present on the system but not encoded in the bundle's manifests. For example, a capability provider could provide:

  1. A Set of certificates
  2. Dimensions of the screen
  3. Amount of memory
  4. ...

Version:
$Revision: 1.3 $

Method Summary
 Capability[] getCapabilities()
          Return a set of capabilities.
 

Method Detail

getCapabilities

Capability[] getCapabilities()
Return a set of capabilities. These capabilities are considered part of the platform. Bundles can require these capabilities during selection. All capabilities from different providers are considered part of the platform.

Returns:
Set of capabilities


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.