Interface RecipeClassLoaderFactory

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RecipeClassLoaderFactory
Factory for creating recipe classloaders.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(Path recipeJar, List<Path> classpath)
    Create a new recipe classloader for the given recipe JAR and classpath.
  • Method Details

    • create

      RecipeClassLoader create(Path recipeJar, List<Path> classpath)
      Create a new recipe classloader for the given recipe JAR and classpath.
      Parameters:
      recipeJar - Recipe JAR to load
      classpath - Runtime dependencies of the recipe JAR
      Returns:
      A new recipe classloader instance.