Interface PackageDefinitionStrategy.ManifestReading.SealBaseLocator

All Known Implementing Classes:
PackageDefinitionStrategy.ManifestReading.SealBaseLocator.ForFixedValue, PackageDefinitionStrategy.ManifestReading.SealBaseLocator.ForTypeResourceUrl, PackageDefinitionStrategy.ManifestReading.SealBaseLocator.NonSealing
Enclosing class:
PackageDefinitionStrategy.ManifestReading

public static interface PackageDefinitionStrategy.ManifestReading.SealBaseLocator
A locator for a seal base URL.
  • Method Details

    • findSealBase

      @MaybeNull URL findSealBase(ClassLoader classLoader, String typeName)
      Locates the URL that should be used for sealing a package.
      Parameters:
      classLoader - The class loader loading the package.
      typeName - The name of the type being loaded that triggered the package definition.
      Returns:
      The URL that is used for sealing a package or null if the package should not be sealed.