org.clazzes.remoting.loading
Class ClassBytes
java.lang.Object
org.clazzes.remoting.loading.ClassBytes
- All Implemented Interfaces:
- java.io.Serializable
public class ClassBytes
- extends java.lang.Object
- implements java.io.Serializable
A ClassBytes instance is used to transfer a compiled class over the wire.
- See Also:
- Serialized Form
Constructor Summary |
ClassBytes(java.lang.String className,
byte[] bytes)
Construct a ClassBytes instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ClassBytes
public ClassBytes(java.lang.String className,
byte[] bytes)
- Construct a ClassBytes instance.
- Parameters:
className
- The dot-separated name of the class.bytes
- The content of the compiled class file.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getClassName
public java.lang.String getClassName()
- Returns:
- The dot-separated name of the class.
getClassBytes
public byte[] getClassBytes()
- Returns:
Copyright © 2010. All Rights Reserved.