Class WrappedCapability
java.lang.Object
org.apache.felix.resolver.WrappedCapability
- All Implemented Interfaces:
org.osgi.resource.Capability, HostedCapability
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWrappedCapability(org.osgi.resource.Resource host, org.osgi.resource.Capability cap) -
Method Summary
-
Field Details
-
m_host
private final org.osgi.resource.Resource m_host -
m_cap
private final org.osgi.resource.Capability m_cap
-
-
Constructor Details
-
WrappedCapability
public WrappedCapability(org.osgi.resource.Resource host, org.osgi.resource.Capability cap)
-
-
Method Details
-
equals
-
hashCode
-
getDeclaredCapability
public org.osgi.resource.Capability getDeclaredCapability()Description copied from interface:HostedCapabilityReturn the Capability hosted by the Resource.- Specified by:
getDeclaredCapabilityin interfaceHostedCapability- Returns:
- The Capability hosted by the Resource.
-
getResource
public org.osgi.resource.Resource getResource()Description copied from interface:HostedCapabilityReturn the Resource that hosts this Capability.- Specified by:
getResourcein interfaceorg.osgi.resource.Capability- Specified by:
getResourcein interfaceHostedCapability- Returns:
- The Resource that hosts this Capability.
-
getNamespace
- Specified by:
getNamespacein interfaceorg.osgi.resource.Capability
-
getDirectives
-
getAttributes
-
toString
-