public class BundleWireImpl extends java.lang.Object implements BundleWire
Constructor and Description |
---|
BundleWireImpl(BundleRevision requirer,
BundleRequirement req,
BundleRevision provider,
BundleCapability cap) |
Modifier and Type | Method and Description |
---|---|
BundleCapability |
getCapability()
Returns the
BundleCapability for this wire. |
BundleRevision |
getProvider() |
BundleWiring |
getProviderWiring()
Returns the bundle wiring
providing the capability . |
BundleRequirement |
getRequirement()
Return the
BundleRequirement for this wire. |
BundleRevision |
getRequirer() |
BundleWiring |
getRequirerWiring()
Returns the bundle wiring who
requires the
capability . |
java.lang.String |
toString() |
public BundleWireImpl(BundleRevision requirer, BundleRequirement req, BundleRevision provider, BundleCapability cap)
public BundleRevision getRequirer()
public BundleWiring getRequirerWiring()
BundleWire
requires
the
capability
.
The bundle revision referenced by the returned bundle wiring may differ
from the bundle revision reference by the requirement
.
getRequirerWiring
in interface BundleWire
in use
, null
will be
returned.public BundleRequirement getRequirement()
BundleWire
BundleRequirement
for this wire.getRequirement
in interface BundleWire
BundleRequirement
for this wire.public BundleRevision getProvider()
public BundleWiring getProviderWiring()
BundleWire
providing
the capability
.
The bundle revision referenced by the returned bundle wiring may differ
from the bundle revision reference by the capability
.
getProviderWiring
in interface BundleWire
in
use
, null
will be returned.public BundleCapability getCapability()
BundleWire
BundleCapability
for this wire.getCapability
in interface BundleWire
BundleCapability
for this wire.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2012. All Rights Reserved.