classUtils.dumper
Class ByteCodeContainer
java.lang.Object
java.lang.ClassLoader
classUtils.dumper.ByteCodeContainer
- All Implemented Interfaces:
- java.io.Serializable
public class ByteCodeContainer
- extends java.lang.ClassLoader
- implements java.io.Serializable
Send the ByteCodeContainer to a remote JVM. It
uses the RCL to define a new class and compute
an answer. Computation servers need these
things to be sent by the computation clients.
- See Also:
- Serialized Form
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ByteCodeContainer
public ByteCodeContainer(java.lang.Class c)
ByteCodeContainer
public ByteCodeContainer(java.lang.String cn,
byte[] b)
getLoader
public static ByteCodeContainer getLoader(ComputableObject o)
loadIt
public void loadIt()
compute
public java.io.Serializable compute()
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
reload
public void reload()
getByteCodeContainer
public static ByteCodeContainer getByteCodeContainer()
getByteCodeContainer
public static ByteCodeContainer getByteCodeContainer(java.io.FileInputStream fis)