Class FelixCapabilityAdapter

java.lang.Object
org.apache.felix.bundlerepository.impl.FelixCapabilityAdapter
All Implemented Interfaces:
org.osgi.resource.Capability

public class FelixCapabilityAdapter extends Object implements org.osgi.resource.Capability
  • Constructor Details

    • FelixCapabilityAdapter

      public FelixCapabilityAdapter(Capability capability, org.osgi.resource.Resource resource)
  • Method Details

    • getAttributes

      public Map<String,Object> getAttributes()
      Specified by:
      getAttributes in interface org.osgi.resource.Capability
    • getDirectives

      public Map<String,String> getDirectives()
      Specified by:
      getDirectives in interface org.osgi.resource.Capability
    • getNamespace

      public String getNamespace()
      Specified by:
      getNamespace in interface org.osgi.resource.Capability
    • getResource

      public org.osgi.resource.Resource getResource()
      Specified by:
      getResource in interface org.osgi.resource.Capability
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in interface org.osgi.resource.Capability
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface org.osgi.resource.Capability
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object