Class ServiceClassLoader
- java.lang.Object
-
- java.lang.ClassLoader
-
- org.nuxeo.ecm.webengine.jaxrs.servlet.ServiceClassLoader
-
@Deprecated public class ServiceClassLoader extends ClassLoader
Deprecated.This class is deprecated since jersey 1.11 which fixed OSGi class loader problems.Support for jersey ServiceFinder lookups in an OSGi environment.- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected org.osgi.framework.Bundle
bundle
Deprecated.protected List<ClassLoader>
loaders
Deprecated.
-
Constructor Summary
Constructors Constructor Description ServiceClassLoader(org.osgi.framework.Bundle bundle)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addResourceLoader(ClassLoader cl)
Deprecated.protected URL
findResource(String name)
Deprecated.protected Enumeration<URL>
findResources(String name)
Deprecated.static ClassLoader
getLoader()
Deprecated.protected Class<?>
loadClass(String name, boolean resolve)
Deprecated.-
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
-
-
-
-
Field Detail
-
bundle
protected org.osgi.framework.Bundle bundle
Deprecated.
-
loaders
protected List<ClassLoader> loaders
Deprecated.
-
-
Method Detail
-
getLoader
public static ClassLoader getLoader()
Deprecated.
-
addResourceLoader
public void addResourceLoader(ClassLoader cl)
Deprecated.
-
findResource
protected URL findResource(String name)
Deprecated.- Overrides:
findResource
in classClassLoader
-
findResources
protected Enumeration<URL> findResources(String name) throws IOException
Deprecated.- Overrides:
findResources
in classClassLoader
- Throws:
IOException
-
loadClass
protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException
Deprecated.- Overrides:
loadClass
in classClassLoader
- Throws:
ClassNotFoundException
-
-