public static class PackageDefinitionStrategy.ManifestReading.SealBaseLocator.ForFixedValue extends Object implements PackageDefinitionStrategy.ManifestReading.SealBaseLocator
PackageDefinitionStrategy.ManifestReading.SealBaseLocator.ForFixedValue, PackageDefinitionStrategy.ManifestReading.SealBaseLocator.ForTypeResourceUrl, PackageDefinitionStrategy.ManifestReading.SealBaseLocator.NonSealing| Constructor and Description |
|---|
ForFixedValue(URL sealBase)
Creates a new seal base locator for a fixed URL.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
URL |
findSealBase(ClassLoader classLoader,
String typeName)
Locates the URL that should be used for sealing a package.
|
int |
hashCode() |
public ForFixedValue(URL sealBase)
sealBase - The seal base URL.public URL findSealBase(ClassLoader classLoader, String typeName)
findSealBase in interface PackageDefinitionStrategy.ManifestReading.SealBaseLocatorclassLoader - 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.Copyright © 2014–2019. All rights reserved.