Class OsgiClassLoader


  • @Deprecated
    public class OsgiClassLoader
    extends ClassLoader
    Deprecated.
    Since 10.1, OSGi support is deprecated and will be removed in a future version.
    Author:
    Brett Meyer
    • Method Detail

      • findClass

        protected Class<?> findClass​(String name)
                              throws ClassNotFoundException
        Deprecated.
        Load the class and break on first found match. TODO: Should this throw a different exception or warn if multiple classes were found? Naming collisions can and do happen in OSGi...
        Throws:
        ClassNotFoundException
      • findResource

        protected URL findResource​(String name)
        Deprecated.
        Load the resource and break on first found match. TODO: Should this throw a different exception or warn if multiple resources were found? Naming collisions can and do happen in OSGi...
      • findResources

        protected Enumeration<URL> findResources​(String name)
        Deprecated.
        Load the resources and return an Enumeration Note: Since they're Enumerations, do not cache these results!