org.apache.felix.framework.resolver
Class HostedCapability
java.lang.Object
org.apache.felix.framework.wiring.BundleCapabilityImpl
org.apache.felix.framework.resolver.HostedCapability
- All Implemented Interfaces:
- BundleCapability
public class HostedCapability
- extends BundleCapabilityImpl
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
HostedCapability
public HostedCapability(BundleRevision host,
BundleCapabilityImpl cap)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
getOriginalCapability
public BundleCapabilityImpl getOriginalCapability()
getRevision
public BundleRevision getRevision()
- Description copied from interface:
BundleCapability
- Returns the bundle revision declaring this capability.
- Specified by:
getRevision in interface BundleCapability- Overrides:
getRevision in class BundleCapabilityImpl
- Returns:
- The bundle revision declaring this capability.
getNamespace
public java.lang.String getNamespace()
- Description copied from interface:
BundleCapability
- Returns the name space of this capability.
- Specified by:
getNamespace in interface BundleCapability- Overrides:
getNamespace in class BundleCapabilityImpl
- Returns:
- The name space of this capability.
getDirectives
public java.util.Map<java.lang.String,java.lang.String> getDirectives()
- Description copied from interface:
BundleCapability
- Returns the directives of this capability.
- Specified by:
getDirectives in interface BundleCapability- Overrides:
getDirectives in class BundleCapabilityImpl
- Returns:
- An unmodifiable map of directive names to directive values for
this capability, or an empty map if this capability has no
directives.
getAttributes
public java.util.Map<java.lang.String,java.lang.Object> getAttributes()
- Description copied from interface:
BundleCapability
- Returns the attributes of this capability.
- Specified by:
getAttributes in interface BundleCapability- Overrides:
getAttributes in class BundleCapabilityImpl
- Returns:
- An unmodifiable map of attribute names to attribute values for
this capability, or an empty map if this capability has no
attributes.
getUses
public java.util.List<java.lang.String> getUses()
- Overrides:
getUses in class BundleCapabilityImpl
toString
public java.lang.String toString()
- Overrides:
toString in class BundleCapabilityImpl
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.