public static interface PackageDefinitionStrategy.ManifestReading.SealBaseLocator
Modifier and Type | Interface and Description |
---|---|
static class |
PackageDefinitionStrategy.ManifestReading.SealBaseLocator.ForFixedValue
A seal base locator that seals all packages with a fixed URL.
|
static class |
PackageDefinitionStrategy.ManifestReading.SealBaseLocator.ForTypeResourceUrl
A seal base locator that imitates the behavior of a
URLClassLoader , i.e. |
static class |
PackageDefinitionStrategy.ManifestReading.SealBaseLocator.NonSealing
A seal base locator that never seals a package.
|
Modifier and Type | Method and Description |
---|---|
java.net.URL |
findSealBase(java.lang.ClassLoader classLoader,
java.lang.String typeName)
Locates the URL that should be used for sealing a package.
|
java.net.URL findSealBase(java.lang.ClassLoader classLoader, java.lang.String typeName)
classLoader
- The class loader loading the package.typeName
- The name of the type being loaded that triggered the package definition.null
if the package should not be sealed.