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

      • 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...
        Overrides:
        findResource in class ClassLoader
      • 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!
        Overrides:
        findResources in class ClassLoader