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()
BundleWirerequires the
capability.
The bundle revision referenced by the returned bundle wiring may differ
from the bundle revision reference by the requirement.
getRequirerWiring in interface BundleWirein use, null will be
returned.public BundleRequirement getRequirement()
BundleWireBundleRequirement for this wire.getRequirement in interface BundleWireBundleRequirement for this wire.public BundleRevision getProvider()
public BundleWiring getProviderWiring()
BundleWireproviding the capability.
The bundle revision referenced by the returned bundle wiring may differ
from the bundle revision reference by the capability.
getProviderWiring in interface BundleWirein
use, null will be returned.public BundleCapability getCapability()
BundleWireBundleCapability for this wire.getCapability in interface BundleWireBundleCapability for this wire.public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2012. All Rights Reserved.