Interface ClassLoaderDecorator.Factory

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  ClassLoaderDecorator.Factory.NoOp
      A no-operation factory that creates no-operation class loader decorators.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ClassLoaderDecorator make​(java.lang.ClassLoader classLoader, java.util.Map<java.lang.String,​byte[]> typeDefinitions)
      Creates a class loader decorator for the given class loader and type definitions.
    • Method Detail

      • make

        ClassLoaderDecorator make​(@MaybeNull
                                  java.lang.ClassLoader classLoader,
                                  java.util.Map<java.lang.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.