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 |
---|---|
java.util.List<Requirement> |
BundleRevision.getRequirements(java.lang.String namespace)
Returns the requirements declared by this bundle resource.
|
java.util.List<Requirement> |
BundleWiring.getResourceRequirements(java.lang.String namespace)
Returns the requirements of this wiring.
|
Modifier and Type | Method and Description |
---|---|
java.util.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 |
---|---|
java.util.List<Requirement> |
Resource.getRequirements(java.lang.String namespace)
Returns the requirements declared by this bundle resource.
|
java.util.List<Requirement> |
Wiring.getResourceRequirements(java.lang.String namespace)
Returns the requirements of this wiring.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Requirement> |
ResolutionException.getUnresolvedRequirements()
Return the unresolved requirements, if any, for this exception.
|
Modifier and Type | Method and Description |
---|---|
abstract java.util.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.
|
java.util.Map<Resource,java.util.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(java.lang.String message,
java.lang.Throwable cause,
java.util.Collection<Requirement> unresolvedRequirements)
Create a
ResolutionException with the specified message, cause
and unresolved requirements. |
Copyright © OSGi Alliance (2000, 2020). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0