org.kaariboga.core
Class ClassManager.ClassBox

java.lang.Object
  |
  +--org.kaariboga.core.ClassManager.ClassBox
Enclosing class:
ClassManager

class ClassManager.ClassBox
extends java.lang.Object

Helper class for the ClassManager to wrap class and bytecodes of the loaded classes.


Field Summary
 byte[] byteCode
          The korresponding bytecode of a loaded class.
 java.lang.Class classCode
          The loaded class.
 int count
          How many agents of this kind are loaded.
 
Constructor Summary
ClassManager.ClassBox(java.lang.Class cl, byte[] byteCode)
          Creates a new ClassBox.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

classCode

public java.lang.Class classCode
The loaded class.

byteCode

public byte[] byteCode
The korresponding bytecode of a loaded class.

count

public int count
How many agents of this kind are loaded.
Constructor Detail

ClassManager.ClassBox

public ClassManager.ClassBox(java.lang.Class cl,
                             byte[] byteCode)
Creates a new ClassBox. The count is set to 1.
Parameters:
cl - The class to be stored.
byteCode - The byte code of the class.