Package org.nuxeo.osgi.application
Class DelegateLoader
- java.lang.Object
-
- org.nuxeo.osgi.application.DelegateLoader
-
- All Implemented Interfaces:
SharedClassLoader
public class DelegateLoader extends Object implements SharedClassLoader
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected Method
addUrl
protected URLClassLoader
loader
-
Constructor Summary
Constructors Constructor Description DelegateLoader(URLClassLoader loader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addURL(URL url)
ClassLoader
getLoader()
Must return itself.URL[]
getURLs()
-
-
-
Field Detail
-
loader
protected final URLClassLoader loader
-
addUrl
protected Method addUrl
-
-
Constructor Detail
-
DelegateLoader
public DelegateLoader(URLClassLoader loader)
-
-
Method Detail
-
addURL
public void addURL(URL url)
- Specified by:
addURL
in interfaceSharedClassLoader
-
getURLs
public URL[] getURLs()
- Specified by:
getURLs
in interfaceSharedClassLoader
-
getLoader
public ClassLoader getLoader()
Description copied from interface:SharedClassLoader
Must return itself.- Specified by:
getLoader
in interfaceSharedClassLoader
-
-