public class StateWire extends Object
Constructor and Description |
---|
StateWire(BundleDescription requirementHost,
VersionConstraint declaredRequirement,
BundleDescription capabilityHost,
BaseDescription declaredCapability)
Constructs a new state wire.
|
Modifier and Type | Method and Description |
---|---|
BundleDescription |
getCapabilityHost()
gets the capability host.
|
BaseDescription |
getDeclaredCapability()
gets the declared capability.
|
VersionConstraint |
getDeclaredRequirement()
Gets the declared requirement.
|
BundleDescription |
getRequirementHost()
Gets the requirement host.
|
public StateWire(BundleDescription requirementHost, VersionConstraint declaredRequirement, BundleDescription capabilityHost, BaseDescription declaredCapability)
requirementHost
- the bundle hosting the requirement.declaredRequirement
- the declared requirement. The bundle declaring the requirement may be different from the requirement host.capabilityHost
- the bundle hosting the capability.declaredCapability
- the declared capability. The bundle declaring the capability may be different from the capability host.public BundleDescription getRequirementHost()
public VersionConstraint getDeclaredRequirement()
public BundleDescription getCapabilityHost()
public BaseDescription getDeclaredCapability()
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.