public static enum ModuleLayerFromSingleClassLoaderDecorator.Factory extends Enum<ModuleLayerFromSingleClassLoaderDecorator.Factory> implements ClassLoaderDecorator.Factory
module-info class file, if available.ClassLoaderDecorator.Factory.NoOp| Enum Constant and Description |
|---|
INSTANCE
The singleton instance of this factory.
|
| Modifier and Type | Method and Description |
|---|---|
ClassLoaderDecorator |
make(ClassLoader classLoader,
Map<String,byte[]> typeDefinitions)
Creates a class loader decorator for the given class loader and type definitions.
|
static ModuleLayerFromSingleClassLoaderDecorator.Factory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModuleLayerFromSingleClassLoaderDecorator.Factory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModuleLayerFromSingleClassLoaderDecorator.Factory INSTANCE
public static ModuleLayerFromSingleClassLoaderDecorator.Factory[] values()
for (ModuleLayerFromSingleClassLoaderDecorator.Factory c : ModuleLayerFromSingleClassLoaderDecorator.Factory.values()) System.out.println(c);
public static ModuleLayerFromSingleClassLoaderDecorator.Factory 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 nullpublic ClassLoaderDecorator make(@MaybeNull ClassLoader classLoader, Map<String,byte[]> typeDefinitions)
make in interface ClassLoaderDecorator.FactoryclassLoader - The class loader to decorate or null if the bootstrap class loader is used.typeDefinitions - A map of type names to their binary representations for types being loaded.Copyright © 2014–2025. All rights reserved.