Interface ClassLoading

All Known Implementing Classes:
SimpleClassLoading

@Incubating public interface ClassLoading
Access to load resources from a ClassLoader
  • Method Details

    • classForName

      <T> Class<T> classForName(String name)
      Obtain a Class reference by name
      Parameters:
      name - The name of the class
      Returns:
      The Class object with the given name
      Throws:
      UnknownClassException - If no registration is found with the given name
    • packageForName

      Package packageForName(String name)
    • locateResource

      URL locateResource(String resourceName)
      Locate a resource by name
      Parameters:
      resourceName - The name of the resource to resolve
      Returns:
      The located resource; may return null to indicate the resource was not found