Interface IClassResolver

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.ClassLoader getClassLoader()
      Returns the ClassLoader to be used for resolving classes
      java.util.Iterator<java.net.URL> getResources​(java.lang.String name)
      Tries to load all the resources by the name that is given.
      java.lang.Class<?> resolveClass​(java.lang.String classname)
      Resolves a class by name (which may or may not involve loading it; thus the name class *resolver* not *loader*).
    • Method Detail

      • resolveClass

        java.lang.Class<?> resolveClass​(java.lang.String classname)
                                 throws java.lang.ClassNotFoundException
        Resolves a class by name (which may or may not involve loading it; thus the name class *resolver* not *loader*).
        Parameters:
        classname - Fully qualified classname to find
        Returns:
        Class
        Throws:
        java.lang.ClassNotFoundException
      • getResources

        java.util.Iterator<java.net.URL> getResources​(java.lang.String name)
        Tries to load all the resources by the name that is given.
        Parameters:
        name -
        Returns:
        iterator over matching resources
      • getClassLoader

        java.lang.ClassLoader getClassLoader()
        Returns the ClassLoader to be used for resolving classes
        Returns:
        the ClassLoader to be used for resolving classes