public interface FelixResolveContext
Modifier and Type | Method and Description |
---|---|
Collection<org.osgi.resource.Resource> |
getOndemandResources(org.osgi.resource.Resource host)
Return the resources that the resolver should attempt to resolve on
demand for specified resource which is being resolved.
|
Collection<org.osgi.resource.Wire> |
getSubstitutionWires(org.osgi.resource.Wiring wiring)
Returns the subset of
require wires
that provide wires to capabilities which substitute capabilities
of the given wiring. |
Collection<org.osgi.resource.Resource> getOndemandResources(org.osgi.resource.Resource host)
The resolver will ask for on demand resources for each resource that is getting pulled into a resolve operation. An example of an on demand resource is a fragment. When a host is being resolved the resolve context will be asked if any additional resources should be added to the resolve operation. The resolve context may decide that the potential fragments of the host should be resolved along with the host.
Collection<org.osgi.resource.Wire> getSubstitutionWires(org.osgi.resource.Wiring wiring)
require wires
that provide wires to capabilities
which substitute capabilities
of the given wiring. For example, when a package
name is both
provided and required by the same resource. If the package requirement is resolved
to a capability hosted by a different wiring then the package capability is
considered to be substituted.wiring
- the wiring to get the substitution wires fromWire
s
for the requirements
of this wiring, or an empty list
if this wiring has no substitution wires.Copyright © 2006–2020 The Apache Software Foundation. All rights reserved.