[OSGi OBR Service API]

org.osgi.service.obr
Interface Resource


public interface Resource

A resource is an abstraction of a downloadable thing, like a bundle. Resources have capabilities and requirements. All a resource's requirements must be satisfied before it can be installed.

Version:
$Revision: 1.5 $

Field Summary
static String COPYRIGHT
           
static String DESCRIPTION
           
static String DOCUMENTATION_URL
           
static String ID
           
static String[] KEYS
           
static String LICENSE_URL
           
static String PRESENTATION_NAME
           
static String SIZE
           
static String SOURCE_URL
           
static String SYMBOLIC_NAME
           
static String URL
           
static String VERSION
           
 
Method Summary
 Capability[] getCapabilities()
           
 String[] getCategories()
           
 String getId()
           
 String getPresentationName()
           
 Map getProperties()
           
 Repository getRepository()
           
 Requirement[] getRequirements()
           
 String getSymbolicName()
           
 URL getURL()
           
 org.osgi.framework.Version getVersion()
           
 

Field Detail

LICENSE_URL

static final String LICENSE_URL
See Also:
Constant Field Values

DESCRIPTION

static final String DESCRIPTION
See Also:
Constant Field Values

DOCUMENTATION_URL

static final String DOCUMENTATION_URL
See Also:
Constant Field Values

COPYRIGHT

static final String COPYRIGHT
See Also:
Constant Field Values

SOURCE_URL

static final String SOURCE_URL
See Also:
Constant Field Values

SYMBOLIC_NAME

static final String SYMBOLIC_NAME
See Also:
Constant Field Values

PRESENTATION_NAME

static final String PRESENTATION_NAME
See Also:
Constant Field Values

ID

static final String ID
See Also:
Constant Field Values

VERSION

static final String VERSION
See Also:
Constant Field Values

URL

static final String URL
See Also:
Constant Field Values

SIZE

static final String SIZE
See Also:
Constant Field Values

KEYS

static final String[] KEYS
Method Detail

getProperties

Map getProperties()

getSymbolicName

String getSymbolicName()

getPresentationName

String getPresentationName()

getVersion

org.osgi.framework.Version getVersion()

getId

String getId()

getURL

URL getURL()

getRequirements

Requirement[] getRequirements()

getCapabilities

Capability[] getCapabilities()

getCategories

String[] getCategories()

getRepository

Repository getRepository()

[OSGi OBR Service API]