org.seasar.framework.aop.javassist
クラス MethodInvocationClassGenerator

java.lang.Object
  拡張org.seasar.framework.aop.javassist.AbstractGenerator
      拡張org.seasar.framework.aop.javassist.MethodInvocationClassGenerator

public class MethodInvocationClassGenerator
extends AbstractGenerator

作成者:
koichik

入れ子クラスの概要
static class MethodInvocationClassGenerator.MethodInvocationTemplate
           
 
フィールドの概要
protected  String enhancedClassName
           
protected  javassist.CtClass methodInvocationClass
           
 
クラス org.seasar.framework.aop.javassist.AbstractGenerator から継承したフィールド
classPool, DEFINE_CLASS_METHOD_NAME, defineClassMethod, protectionDomain
 
コンストラクタの概要
MethodInvocationClassGenerator(javassist.ClassPool classPool, String invocationClassName, String targetClassName)
           
 
メソッドの概要
static String createArgumentString(Class[] argTypes)
           
static String createArgumentTypeString(Class[] argTypes)
           
 void createProceedMethod(Method targetMethod, String invokeSuperMethodName)
           
static String createProceedMethodSource(Method targetMethod, String enhancedClassName, String invokeSuperMethodName)
           
static String createReturnStatement(Method targetMethod, String enhancedClassName, String invokeSuperMethodName)
           
static String createThrowStatement(Method targetMethod, String enhancedClassName)
           
 Class toClass(ClassLoader classLoader)
           
 
クラス 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
 

フィールドの詳細

enhancedClassName

protected final String enhancedClassName

methodInvocationClass

protected javassist.CtClass methodInvocationClass
コンストラクタの詳細

MethodInvocationClassGenerator

public MethodInvocationClassGenerator(javassist.ClassPool classPool,
                                      String invocationClassName,
                                      String targetClassName)
メソッドの詳細

createProceedMethod

public void createProceedMethod(Method targetMethod,
                                String invokeSuperMethodName)

toClass

public Class toClass(ClassLoader classLoader)

createProceedMethodSource

public static String createProceedMethodSource(Method targetMethod,
                                               String enhancedClassName,
                                               String invokeSuperMethodName)

createReturnStatement

public static String createReturnStatement(Method targetMethod,
                                           String enhancedClassName,
                                           String invokeSuperMethodName)

createThrowStatement

public static String createThrowStatement(Method targetMethod,
                                          String enhancedClassName)

createArgumentString

public static String createArgumentString(Class[] argTypes)

createArgumentTypeString

public static String createArgumentTypeString(Class[] argTypes)


Copyright © 2004-2006 The Seasar Foundation. All Rights Reserved.