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 Classes
    Modifier and Type
    Interface
    Description
    static enum 
    A no-operation factory that creates no-operation class loader decorators.
  • Method Summary

    Modifier and Type
    Method
    Description
    make(ClassLoader classLoader, Map<String,byte[]> typeDefinitions)
    Creates a class loader decorator for the given class loader and type definitions.
  • Method Details

    • make

      ClassLoaderDecorator make(@MaybeNull ClassLoader classLoader, Map<String,byte[]> typeDefinitions)
      Creates a class loader decorator for the given class loader and type definitions.
      Parameters:
      classLoader - 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.
      Returns:
      A class loader decorator instance.