org.eclipse.persistence.sdo.helper
Class DynamicClassWriter
java.lang.Object
org.eclipse.persistence.sdo.helper.DynamicClassWriter
public class DynamicClassWriter
- extends java.lang.Object
Purpose: Dynamically create a class for the given name as a subclass of the generic
superclass. This dynamically created subclass should only provide constructors
and a writeReplace() method.
Method Summary |
byte[] |
createClass()
This is where the byte codes for the generic subclass are defined and the
class is created dynamically from them. |
java.lang.String |
getClassName()
|
java.lang.Class |
getParentClass()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicClassWriter
public DynamicClassWriter(java.lang.String className,
SDOType type,
HelperContext aContext)
getParentClass
public java.lang.Class getParentClass()
getClassName
public java.lang.String getClassName()
createClass
public byte[] createClass()
- This is where the byte codes for the generic subclass are defined and the
class is created dynamically from them.