|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ClassLoader org.jboss.remoting.loading.ClassByteClassLoader
ClassByteClassLoader is a classloader that will allow dynamic adding of classes from a remote machine to be added and visible locally.
Constructor Summary | |
ClassByteClassLoader()
|
|
ClassByteClassLoader(java.lang.ClassLoader parent)
|
Method Summary | |
java.lang.Class |
addClass(ClassBytes (src) classBytes)
|
void |
destroy()
Will disconnect loader client if is present. |
protected void |
finalize()
|
protected java.lang.Class |
findClass(java.lang.String name)
Finds the specified class. |
java.io.InputStream |
getResourceAsStream(java.lang.String name)
|
java.lang.Class |
loadClass(java.lang.String className,
ClassBytes (src) [] bytes)
|
void |
setClientInvoker(Client (src) loaderClient)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ClassByteClassLoader()
public ClassByteClassLoader(java.lang.ClassLoader parent)
Method Detail |
public void setClientInvoker(Client (src) loaderClient)
public void destroy()
public java.lang.String toString()
protected void finalize() throws java.lang.Throwable
java.lang.Throwable
public java.lang.Class loadClass(java.lang.String className, ClassBytes (src) [] bytes) throws java.lang.ClassNotFoundException, java.io.IOException
java.lang.ClassNotFoundException
java.io.IOException
public java.io.InputStream getResourceAsStream(java.lang.String name)
public java.lang.Class addClass(ClassBytes (src) classBytes) throws java.io.IOException
java.io.IOException
protected java.lang.Class findClass(java.lang.String name) throws java.lang.ClassNotFoundException
loadClass
method after checking the parent class loader for the requested class.
The default implementation throws ClassNotFoundException
.
name
- the name of the class
Class
object
java.lang.ClassNotFoundException
- if the class could not be found
|
||||||||||
PREV CLASS NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |