public class BundleWireImpl extends java.lang.Object implements BundleWire
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares this
Wire to another Wire. |
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. |
int |
hashCode()
Returns the hashCode of this
Wire. |
public BundleCapability getCapability()
BundleWireBundleCapability for this wire.getCapability in interface BundleWiregetCapability in interface WireBundleCapability for this wire.public BundleRequirement getRequirement()
BundleWireBundleRequirement for this wire.getRequirement in interface BundleWiregetRequirement in interface WireBundleRequirement for this wire.public BundleWiring getProviderWiring()
BundleWireproviding the capability.
The bundle revision referenced by the returned bundle wiring may differ
from the bundle revision referenced by the capability.
getProviderWiring in interface BundleWirein
use, null will be returned.public BundleWiring getRequirerWiring()
BundleWirerequires the
capability.
The bundle revision referenced by the returned bundle wiring may differ
from the bundle revision referenced by the requirement.
getRequirerWiring in interface BundleWirein use, null will be
returned.public BundleRevision getProvider()
BundleWirecapability.
The returned resource may differ from the resource referenced by the
capability.
This method returns the same value as BundleWire.getProviderWiring().
getRevision().
getProvider in interface BundleWiregetProvider in interface Wirepublic BundleRevision getRequirer()
BundleWirerequires the
capability.
The returned resource may differ from the resource referenced by the
requirement.
This method returns the same value as BundleWire.getRequirerWiring().
getRevision().
getRequirer in interface BundleWiregetRequirer in interface Wirepublic int hashCode()
WireWire.public boolean equals(java.lang.Object obj)
WireWire to another Wire.
This Wire is equal to another Wire if they have the same
capability, requirement, provider and requirer.