public static enum PackageDefinitionStrategy.ManifestReading.SealBaseLocator.NonSealing extends java.lang.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 |
---|---|
java.net.URL |
findSealBase(java.lang.ClassLoader classLoader,
java.lang.String typeName)
Locates the URL that should be used for sealing a package.
|
static PackageDefinitionStrategy.ManifestReading.SealBaseLocator.NonSealing |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.net.URL findSealBase(java.lang.ClassLoader classLoader, java.lang.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.