Class FelixResourceAdapter

java.lang.Object
org.apache.felix.bundlerepository.impl.FelixResourceAdapter
All Implemented Interfaces:
org.osgi.resource.Resource, org.osgi.service.repository.RepositoryContent

public class FelixResourceAdapter extends Object implements org.osgi.resource.Resource, org.osgi.service.repository.RepositoryContent
  • Constructor Details

    • FelixResourceAdapter

      public FelixResourceAdapter(Resource resource)
  • Method Details

    • getCapabilities

      public List<org.osgi.resource.Capability> getCapabilities(String namespace)
      Specified by:
      getCapabilities in interface org.osgi.resource.Resource
    • getContent

      public InputStream getContent()
      Specified by:
      getContent in interface org.osgi.service.repository.RepositoryContent
    • getRequirements

      public List<org.osgi.resource.Requirement> getRequirements(String namespace)
      Specified by:
      getRequirements in interface org.osgi.resource.Resource
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object