|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.framework.wiring.BundleWireImpl
public class BundleWireImpl
| Constructor Summary | |
|---|---|
BundleWireImpl(BundleRevision requirer,
BundleRequirement req,
BundleRevision provider,
BundleCapability cap)
|
|
| 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. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.osgi.resource.Wire |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public BundleWireImpl(BundleRevision requirer,
BundleRequirement req,
BundleRevision provider,
BundleCapability cap)
| Method Detail |
|---|
public 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 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 BundleRequirement getRequirement()
BundleWireBundleRequirement for this wire.
getRequirement in interface BundleWiregetRequirement in interface WireBundleRequirement for this wire.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 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 BundleCapability getCapability()
BundleWireBundleCapability for this wire.
getCapability in interface BundleWiregetCapability in interface WireBundleCapability for this wire.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||