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 |
BundleRevision
Bundle Revision.
|
Modifier and Type | Method and Description |
---|---|
Resource |
Wire.getProvider()
Returns the resource providing the
capability . |
Resource |
Wire.getRequirer()
Returns the resource who
requires the
capability . |
Resource |
Requirement.getResource()
Returns the resource declaring this requirement.
|
Resource |
Wiring.getResource()
Returns the resource associated with this wiring.
|
Resource |
Capability.getResource()
Returns the resource declaring this capability.
|
Modifier and Type | Method and Description |
---|---|
Resource |
HostedCapability.getResource()
Return the Resource that hosts this Capability.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Resource> |
ResolveContext.findRelatedResources(Resource resource)
Find resources that are related to the given resource.
|
java.util.Collection<Resource> |
ResolveContext.getMandatoryResources()
Return the resources that must be resolved for this resolve context.
|
java.util.Collection<Resource> |
ResolveContext.getOptionalResources()
Return the resources that the resolver should attempt to resolve for this
resolve context.
|
abstract java.util.Map<Resource,Wiring> |
ResolveContext.getWirings()
Returns the wirings for existing resolved resources.
|
java.util.Map<Resource,java.util.List<Wire>> |
Resolver.resolve(ResolveContext context)
Resolve the specified resolve context and return any new resources and
wires to the caller.
|
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.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Resource> |
ResolveContext.findRelatedResources(Resource resource)
Find resources that are related to the given resource.
|
Copyright © OSGi Alliance (2000, 2020). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0