EclipseLink 1.1.4, build 'v20100812-r7860' API Reference

org.eclipse.persistence.sdo.helper
Class DynamicClassWriter

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


Constructor Summary
DynamicClassWriter(java.lang.String className, SDOType type, HelperContext aContext)
           
 
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
 

Constructor Detail

DynamicClassWriter

public DynamicClassWriter(java.lang.String className,
                          SDOType type,
                          HelperContext aContext)
Method Detail

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.


EclipseLink 1.1.4, build 'v20100812-r7860' API Reference