public class BundleWireImpl extends java.lang.Object implements BundleWire
限定符和类型 | 方法和说明 |
---|---|
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()
BundleWire
BundleCapability
for this wire.getCapability
在接口中 BundleWire
getCapability
在接口中 Wire
BundleCapability
for this wire.public BundleRequirement getRequirement()
BundleWire
BundleRequirement
for this wire.getRequirement
在接口中 BundleWire
getRequirement
在接口中 Wire
BundleRequirement
for this wire.public BundleWiring getProviderWiring()
BundleWire
providing
the capability
.
The bundle revision referenced by the returned bundle wiring may differ
from the bundle revision referenced by the capability
.
getProviderWiring
在接口中 BundleWire
in
use
, null
will be returned.public BundleWiring getRequirerWiring()
BundleWire
requires
the
capability
.
The bundle revision referenced by the returned bundle wiring may differ
from the bundle revision referenced by the requirement
.
getRequirerWiring
在接口中 BundleWire
in use
, null
will be
returned.public BundleRevision getProvider()
BundleWire
capability
.
The returned resource may differ from the resource referenced by the
capability
.
This method returns the same value as BundleWire.getProviderWiring()
.
getRevision()
.
getProvider
在接口中 BundleWire
getProvider
在接口中 Wire
public BundleRevision getRequirer()
BundleWire
requires
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
在接口中 BundleWire
getRequirer
在接口中 Wire
public int hashCode()
Wire
Wire
.public boolean equals(java.lang.Object obj)
Wire
Wire
to another Wire
.
This Wire
is equal to another Wire
if they have the same
capability, requirement, provider and requirer.