net.sf.hibernate4gwt.rebind
Class JavassistProxyGenerator

java.lang.Object
  extended by net.sf.hibernate4gwt.rebind.JavassistProxyGenerator
All Implemented Interfaces:
IServerProxyGenerator

public class JavassistProxyGenerator
extends java.lang.Object
implements IServerProxyGenerator

Javassist proxy generator (for server side)

Author:
bruno.marchesson

Constructor Summary
JavassistProxyGenerator()
           
 
Method Summary
protected  void generateAttribute(CtClass proxyClass, Attribute attribute)
          Generate an additional attribute
 java.lang.Class generateProxyFor(java.lang.Class clazz, AdditionalCode additionalCode)
          Generate a proxy the argument class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavassistProxyGenerator

public JavassistProxyGenerator()
Method Detail

generateProxyFor

public java.lang.Class generateProxyFor(java.lang.Class clazz,
                                        AdditionalCode additionalCode)
Description copied from interface: IServerProxyGenerator
Generate a proxy the argument class

Specified by:
generateProxyFor in interface IServerProxyGenerator

generateAttribute

protected void generateAttribute(CtClass proxyClass,
                                 Attribute attribute)
                          throws CannotCompileException
Generate an additional attribute

Parameters:
proxyClass -
attribute -
Throws:
CannotCompileException