Class SimpleHostedCapability
java.lang.Object
org.apache.felix.resolver.SimpleHostedCapability
- All Implemented Interfaces:
org.osgi.resource.Capability, HostedCapability
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSimpleHostedCapability(org.osgi.resource.Resource host, org.osgi.resource.Capability cap) -
Method Summary
Modifier and TypeMethodDescriptionorg.osgi.resource.CapabilityReturn the Capability hosted by the Resource.org.osgi.resource.ResourceReturn the Resource that hosts this Capability.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.osgi.resource.Capability
equals, hashCode
-
Field Details
-
m_host
private final org.osgi.resource.Resource m_host -
m_cap
private final org.osgi.resource.Capability m_cap
-
-
Constructor Details
-
SimpleHostedCapability
SimpleHostedCapability(org.osgi.resource.Resource host, org.osgi.resource.Capability cap)
-
-
Method Details
-
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.
-
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.
-
getNamespace
- Specified by:
getNamespacein interfaceorg.osgi.resource.Capability
-
getDirectives
-
getAttributes
-