Interface InternalPackageDetector

All Known Implementing Classes:
AlwaysFalseInternalPackageDetector, DefaultInternalPackageDetector, ExportTypeBasedInternalPackageDetector, PluginInternalPackageDetector

public interface InternalPackageDetector
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isDeprecatedPackage(org.osgi.framework.wiring.BundleCapability capability)
    Checks if package should be treated as deprecated by the DMZ mechanism
    boolean
    isInternalPackage(org.osgi.framework.wiring.BundleCapability capability)
    Checks if package should be treated as internal and hidden behind DMZ
  • Method Details

    • isInternalPackage

      boolean isInternalPackage(org.osgi.framework.wiring.BundleCapability capability)
      Checks if package should be treated as internal and hidden behind DMZ
      Parameters:
      capability - represents exported package
      Returns:
      if package is internal
    • isDeprecatedPackage

      boolean isDeprecatedPackage(org.osgi.framework.wiring.BundleCapability capability)
      Checks if package should be treated as deprecated by the DMZ mechanism
      Parameters:
      capability - represents exported package
      Returns:
      if package is deprecated