@ProviderType public interface BundleWire extends Wire
BundleCapability
to a BundleRequirement
.Modifier and Type | Method and Description |
---|---|
BundleCapability |
getCapability()
Returns the
BundleCapability for this wire. |
BundleRevision |
getProvider()
Returns the resource providing the
capability . |
BundleWiring |
getProviderWiring()
Returns the bundle wiring
providing the capability . |
BundleRequirement |
getRequirement()
Return the
BundleRequirement for this wire. |
BundleRevision |
getRequirer()
Returns the resource who
requires the
capability . |
BundleWiring |
getRequirerWiring()
Returns the bundle wiring who
requires the
capability . |
BundleCapability getCapability()
BundleCapability
for this wire.getCapability
in interface Wire
BundleCapability
for this wire.BundleRequirement getRequirement()
BundleRequirement
for this wire.getRequirement
in interface Wire
BundleRequirement
for this wire.BundleWiring getProviderWiring()
providing
the capability
.
The bundle revision referenced by the returned bundle wiring may differ
from the bundle revision referenced by the capability
.
in
use
, null
will be returned.BundleWiring getRequirerWiring()
requires
the
capability
.
The bundle revision referenced by the returned bundle wiring may differ
from the bundle revision referenced by the requirement
.
in use
, null
will be
returned.BundleRevision getProvider()
capability
.
The returned resource may differ from the resource referenced by the
capability
.
This method returns the same value as getProviderWiring()
.
getRevision()
.
getProvider
in interface Wire
BundleRevision getRequirer()
requires
the
capability
.
The returned resource may differ from the resource referenced by the
requirement
.
This method returns the same value as getRequirerWiring()
.
getRevision()
.
getRequirer
in interface Wire
Copyright © OSGi Alliance (2000, 2020). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0