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 |
BundleRequirement
A requirement that has been declared from a
bundle
revision . |
Modifier and Type | Method and Description |
---|---|
List<Requirement> |
BundleRevision.getRequirements(String namespace)
Returns the requirements declared by this bundle resource.
|
List<Requirement> |
BundleWiring.getResourceRequirements(String namespace)
Returns the requirements of this wiring.
|
Modifier and Type | Method and Description |
---|---|
Collection<BundleCapability> |
FrameworkWiring.findProviders(Requirement requirement)
Find bundle capabilities that match the given requirement.
|
Modifier and Type | Method and Description |
---|---|
Requirement |
Wire.getRequirement()
Returns the
Requirement for this wire. |
Modifier and Type | Method and Description |
---|---|
List<Requirement> |
Resource.getRequirements(String namespace)
Returns the requirements declared by this bundle resource.
|
List<Requirement> |
Wiring.getResourceRequirements(String namespace)
Returns the requirements of this wiring.
|
Modifier and Type | Method and Description |
---|---|
Collection<Requirement> |
ResolutionException.getUnresolvedRequirements()
Return the unresolved requirements, if any, for this exception.
|
Modifier and Type | Method and Description |
---|---|
abstract List<Capability> |
ResolveContext.findProviders(Requirement requirement)
Find Capabilities that match the given Requirement.
|
abstract boolean |
ResolveContext.isEffective(Requirement requirement)
Test if a given requirement should be wired in the resolve operation.
|
Map<Resource,List<Wire>> |
Resolver.resolveDynamic(ResolveContext context,
Wiring hostWiring,
Requirement dynamicRequirement)
Resolves a given requirement dynamically for the given host wiring using
the given resolve context and return any new resources and wires to the
caller.
|
Constructor and Description |
---|
ResolutionException(String message,
Throwable cause,
Collection<Requirement> unresolvedRequirements)
Create a
ResolutionException with the specified message, cause
and unresolved requirements. |
Copyright © 2024 OSGi Alliance. All rights reserved.