Package jodd.util

Interface ClassLoaderStrategy

  • All Known Implementing Classes:
    ClassLoaderStrategy.DefaultClassLoaderStrategy
    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 ClassLoaderStrategy
    Class loader strategy defines how classes should be loaded.
    • Method Detail

      • loadClass

        java.lang.Class loadClass​(java.lang.String className,
                                  java.lang.ClassLoader classLoader)
                           throws java.lang.ClassNotFoundException
        Loads class with given name and optionally provided class loader.
        Throws:
        java.lang.ClassNotFoundException