Interface IRepositoryIndexProcessor


public interface IRepositoryIndexProcessor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    processReferral(URI parentUri, Referral referral, int maxDepth, int currentDepth)
    Process an OBR referral
    void
    processResource(org.osgi.resource.Resource resource)
    Process an OBR resource descriptor from the index document, and possibly request early termination of the parser.
  • Method Details

    • processResource

      void processResource(org.osgi.resource.Resource resource)
      Process an OBR resource descriptor from the index document, and possibly request early termination of the parser.
      Parameters:
      resource - The resource to be processed. The content URI of the resource must be a resolved, absolute URI.
    • processReferral

      void processReferral(URI parentUri, Referral referral, int maxDepth, int currentDepth)
      Process an OBR referral
      Parameters:
      parentUri - The URI of the Repository that referred to this Referral
      referral - The referral to be processed
      maxDepth - The depth of referrals this repository acknowledges.
      currentDepth - The current depth