classUtils.dumper
Class ByteCodeContainer

java.lang.Object
  extended by java.lang.ClassLoader
      extended by 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

Constructor Summary
ByteCodeContainer(java.lang.Class c)
           
ByteCodeContainer(java.lang.String cn, byte[] b)
           
 
Method Summary
 java.io.Serializable compute()
           
static ByteCodeContainer getByteCodeContainer()
           
static ByteCodeContainer getByteCodeContainer(java.io.FileInputStream fis)
           
static ByteCodeContainer getLoader(ComputableObject o)
           
 void loadIt()
           
 void reload()
           
 
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
 

Constructor Detail

ByteCodeContainer

public ByteCodeContainer(java.lang.Class c)

ByteCodeContainer

public ByteCodeContainer(java.lang.String cn,
                         byte[] b)
Method Detail

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)