mandala.rami.transparency.semi
Class SourceGenerator

java.lang.Object
  extended bymandala.rami.transparency.semi.SourceGenerator
All Implemented Interfaces:
java.io.Serializable

public class SourceGenerator
extends java.lang.Object
implements java.io.Serializable

This class provides the generateClass(Class) method} which generates the source of the semi-transparency asynchronous proxy class for the given class.

Since:
1.0
Version:
1.1
Author:
eipi
See Also:
Serializable, Serialized Form

Field Summary
static java.lang.String PACKAGE_PREFIX
           
 
Constructor Summary
SourceGenerator()
           
 
Method Summary
static java.lang.StringBuffer generateClass(java.lang.Class classObject)
          Returns the source code of the semi-transparency asynchronous proxy class for the given class.
static java.lang.String getNewClassName(java.lang.Class classObject)
           
static java.lang.String getRealClassName(java.lang.Class classObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PACKAGE_PREFIX

public static final java.lang.String PACKAGE_PREFIX
See Also:
Constant Field Values
Constructor Detail

SourceGenerator

public SourceGenerator()
Method Detail

getRealClassName

public static java.lang.String getRealClassName(java.lang.Class classObject)

getNewClassName

public static java.lang.String getNewClassName(java.lang.Class classObject)

generateClass

public static java.lang.StringBuffer generateClass(java.lang.Class classObject)

Returns the source code of the semi-transparency asynchronous proxy class for the given class.

Parameters:
classObject - the class to generate an semi-transparent asynchronous proxy for
Throws:
java.lang.IllegalArgumentException - if classObject is an array class or a primitive type.


Mandala help mailing list