public abstract class ProxyClassLoader extends java.lang.Object implements java.lang.Comparable<ProxyClassLoader>
Constructor and Description |
---|
ProxyClassLoader(int order) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ProxyClassLoader o) |
abstract java.lang.ClassLoader |
getLoader()
Returns the internal
ClassLoader object used to load class. |
int |
getOrder() |
abstract java.net.URL |
getResource(java.lang.String name)
Find the resource and returns it as a URL (if it exists).
|
abstract java.io.InputStream |
getResourceAsStream(java.lang.String name)
Loads the resource and returns an input stream for reading it.
|
abstract java.util.Enumeration<java.net.URL> |
getResources(java.lang.String name)
Finds all resources with the given name and returns them as a URL Enumeration.
|
boolean |
isEnabled() |
abstract java.lang.Class |
loadClass(java.lang.String className,
boolean resolveIt)
Loads the class and returns it.
|
void |
setEnabled(boolean enabled) |
public ProxyClassLoader(int order)
public int getOrder()
public abstract java.lang.ClassLoader getLoader()
ClassLoader
object used to load class.public abstract java.lang.Class loadClass(java.lang.String className, boolean resolveIt) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public abstract java.io.InputStream getResourceAsStream(java.lang.String name)
public abstract java.net.URL getResource(java.lang.String name)
public abstract java.util.Enumeration<java.net.URL> getResources(java.lang.String name) throws java.io.IOException
java.io.IOException
public boolean isEnabled()
public void setEnabled(boolean enabled)
public int compareTo(ProxyClassLoader o)
compareTo
in interface java.lang.Comparable<ProxyClassLoader>