Interface ClassLoaderDecorator.Factory
- All Known Implementing Classes:
ClassLoaderDecorator.Factory.NoOp, ModuleLayerFromSingleClassLoaderDecorator.Factory
- Enclosing interface:
ClassLoaderDecorator
public static interface ClassLoaderDecorator.Factory
A factory for creating class loader decorators.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumA no-operation factory that creates no-operation class loader decorators. -
Method Summary
Modifier and TypeMethodDescriptionmake(ClassLoader classLoader, Map<String, byte[]> typeDefinitions) Creates a class loader decorator for the given class loader and type definitions.
-
Method Details
-
make
Creates a class loader decorator for the given class loader and type definitions.- Parameters:
classLoader- The class loader to decorate ornullif the bootstrap class loader is used.typeDefinitions- A map of type names to their binary representations for types being loaded.- Returns:
- A class loader decorator instance.
-