org.seasar.tuigwaa.model.common
クラス PojoClassGenerator

java.lang.Object
  拡張org.seasar.framework.aop.javassist.AbstractGenerator
      拡張org.seasar.tuigwaa.model.common.PojoClassGenerator

public class PojoClassGenerator
extends org.seasar.framework.aop.javassist.AbstractGenerator

作成者:
nishioka TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

フィールドの概要
 
クラス org.seasar.framework.aop.javassist.AbstractGenerator から継承したフィールド
classPool, DEFINE_CLASS_METHOD_NAME, defineClassMethod, protectionDomain
 
コンストラクタの概要
PojoClassGenerator(javassist.ClassPool cp, Class srcClass, String enhancedClassname)
          extends srcClass
PojoClassGenerator(javassist.ClassPool cp, String className)
           
 
メソッドの概要
 void addProperty(String name, String type)
           
 ClassLoader getClassLoader()
           
 void overrideMethod(String methodName, String methodBody)
           
 void reModify()
           
 Class toClass()
           
 
クラス org.seasar.framework.aop.javassist.AbstractGenerator から継承したメソッド
createConstructor, createConstructor, createCtClass, createCtClass, createCtClass, createDefaultConstructor, createDefaultConstructor, createMethod, createMethod, createMethod, fromObject, getAndRenameCtClass, getAndRenameCtClass, getDeclaredMethod, setInterface, setInterfaces, setMethodBody, toClass, toCtClass, toCtClass, toCtClassArray, toCtClassArray, toObject
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

PojoClassGenerator

public PojoClassGenerator(javassist.ClassPool cp,
                          String className)

PojoClassGenerator

public PojoClassGenerator(javassist.ClassPool cp,
                          Class srcClass,
                          String enhancedClassname)
extends srcClass

メソッドの詳細

addProperty

public void addProperty(String name,
                        String type)
                 throws javassist.CannotCompileException,
                        ClassNotFoundException
例外:
javassist.CannotCompileException
ClassNotFoundException

overrideMethod

public void overrideMethod(String methodName,
                           String methodBody)
                    throws javassist.NotFoundException,
                           javassist.CannotCompileException
例外:
javassist.NotFoundException
javassist.CannotCompileException

toClass

public Class toClass()

getClassLoader

public ClassLoader getClassLoader()

reModify

public void reModify()


Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.