public static enum PackageDefinitionStrategy.ManifestReading.SealBaseLocator.NonSealing extends Enum<PackageDefinitionStrategy.ManifestReading.SealBaseLocator.NonSealing> implements PackageDefinitionStrategy.ManifestReading.SealBaseLocator
PackageDefinitionStrategy.ManifestReading.SealBaseLocator.ForFixedValue, PackageDefinitionStrategy.ManifestReading.SealBaseLocator.ForTypeResourceUrl, PackageDefinitionStrategy.ManifestReading.SealBaseLocator.NonSealing
Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
URL |
findSealBase(ClassLoader classLoader,
String typeName)
Locates the URL that should be used for sealing a package.
|
static PackageDefinitionStrategy.ManifestReading.SealBaseLocator.NonSealing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PackageDefinitionStrategy.ManifestReading.SealBaseLocator.NonSealing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackageDefinitionStrategy.ManifestReading.SealBaseLocator.NonSealing INSTANCE
public static PackageDefinitionStrategy.ManifestReading.SealBaseLocator.NonSealing[] values()
for (PackageDefinitionStrategy.ManifestReading.SealBaseLocator.NonSealing c : PackageDefinitionStrategy.ManifestReading.SealBaseLocator.NonSealing.values()) System.out.println(c);
public static PackageDefinitionStrategy.ManifestReading.SealBaseLocator.NonSealing valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@MaybeNull public URL findSealBase(ClassLoader classLoader, String typeName)
findSealBase
in interface PackageDefinitionStrategy.ManifestReading.SealBaseLocator
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.Copyright © 2014–2024. All rights reserved.