Package | Description |
---|---|
org.osgi.framework.wiring |
Framework Wiring Package Version 1.2.
|
org.osgi.resource |
Resource Package Version 1.0.
|
org.osgi.service.resolver |
Resolver Service Package Version 1.1.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BundleCapability
A capability that has been declared from a
bundle
revision . |
Modifier and Type | Method and Description |
---|---|
java.util.List<Capability> |
BundleRevision.getCapabilities(java.lang.String namespace)
Returns the capabilities declared by this resource.
|
java.util.List<Capability> |
BundleWiring.getResourceCapabilities(java.lang.String namespace)
Returns the capabilities provided by this wiring.
|
Modifier and Type | Method and Description |
---|---|
Capability |
Wire.getCapability()
Returns the
Capability for this wire. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Capability> |
Resource.getCapabilities(java.lang.String namespace)
Returns the capabilities declared by this resource.
|
java.util.List<Capability> |
Wiring.getResourceCapabilities(java.lang.String namespace)
Returns the capabilities provided by this wiring.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HostedCapability
A capability hosted by a resource.
|
Modifier and Type | Method and Description |
---|---|
Capability |
HostedCapability.getDeclaredCapability()
Return the Capability hosted by the Resource.
|
Modifier and Type | Method and Description |
---|---|
abstract java.util.List<Capability> |
ResolveContext.findProviders(Requirement requirement)
Find Capabilities that match the given Requirement.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
ResolveContext.insertHostedCapability(java.util.List<Capability> capabilities,
HostedCapability hostedCapability)
Add a
HostedCapability to the list of capabilities returned from
ResolveContext.findProviders(Requirement) . |
Copyright © OSGi Alliance (2000, 2020). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0