Interface BundleResourceFinder.ResourceFinderCallback

All Known Implementing Classes:
BundleResourceFinder.DefaultResourceFinderCallback
Enclosing class:
BundleResourceFinder

public static interface BundleResourceFinder.ResourceFinderCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    foundInDirectory(org.osgi.framework.Bundle bundle, String baseDir, URL url)
    Resource found in a directory in a bundle.
    boolean
    foundInJar(org.osgi.framework.Bundle bundle, String jarName, ZipEntry entry, InputStream in)
    Resource found in a jar file in a bundle.
  • Method Details

    • foundInDirectory

      boolean foundInDirectory(org.osgi.framework.Bundle bundle, String baseDir, URL url) throws Exception
      Resource found in a directory in a bundle.
      Returns:
      true to continue scanning, false to abort scanning.
      Throws:
      Exception
    • foundInJar

      boolean foundInJar(org.osgi.framework.Bundle bundle, String jarName, ZipEntry entry, InputStream in) throws Exception
      Resource found in a jar file in a bundle.
      Returns:
      true to continue scanning, false to abort scanning.
      Throws:
      Exception