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

java.lang.Object
  拡張org.seasar.framework.aop.javassist.MethodInvocationClassGenerator.MethodInvocationTemplate
すべての実装インタフェース:
Invocation, Joinpoint, MethodInvocation, S2MethodInvocation
含まれているクラス:
MethodInvocationClassGenerator

public static class MethodInvocationClassGenerator.MethodInvocationTemplate
extends Object
implements S2MethodInvocation

MethodInvocationのテンプレートです。


コンストラクタの概要
MethodInvocationClassGenerator.MethodInvocationTemplate(Object target, Object[] arguments)
          MethodInvocationTemplateを作成します。
 
メソッドの概要
 Object[] getArguments()
           
 Method getMethod()
           
 Object getParameter(String name)
          パラメータを返します。
 AccessibleObject getStaticPart()
           
 Class getTargetClass()
          バイトコードがエンハンスされる前のクラスを返します。
 Object getThis()
           
 Object proceed()
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

MethodInvocationClassGenerator.MethodInvocationTemplate

public MethodInvocationClassGenerator.MethodInvocationTemplate(Object target,
                                                               Object[] arguments)
MethodInvocationTemplateを作成します。

パラメータ:
target -
arguments -
メソッドの詳細

getTargetClass

public Class getTargetClass()
インタフェース S2MethodInvocation の記述:
バイトコードがエンハンスされる前のクラスを返します。

定義:
インタフェース S2MethodInvocation 内の getTargetClass
戻り値:

getMethod

public Method getMethod()
定義:
インタフェース MethodInvocation 内の getMethod

getStaticPart

public AccessibleObject getStaticPart()
定義:
インタフェース Joinpoint 内の getStaticPart

getParameter

public Object getParameter(String name)
インタフェース S2MethodInvocation の記述:
パラメータを返します。 処理をカスタマイズするためにパラメータを使用する場合に使います。

定義:
インタフェース S2MethodInvocation 内の getParameter
パラメータ:
name -
戻り値:

getThis

public Object getThis()
定義:
インタフェース Joinpoint 内の getThis

getArguments

public Object[] getArguments()
定義:
インタフェース Invocation 内の getArguments

proceed

public Object proceed()
               throws Throwable
定義:
インタフェース Joinpoint 内の proceed
例外:
Throwable


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