|
OSGi™ Core Release 5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BundleWire
A wire connecting a BundleCapability
to a BundleRequirement
.
Method Summary | |
---|---|
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 . |
Methods inherited from interface org.osgi.resource.Wire |
---|
equals, hashCode |
Method Detail |
---|
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
|
OSGi™ Core Release 5 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |