org.seasar.cubby.plugins.s2.aop
クラス ActionMethodPointcutImpl

java.lang.Object
  上位を拡張 org.seasar.framework.aop.impl.PointcutImpl
      上位を拡張 org.seasar.cubby.plugins.s2.aop.ActionMethodPointcutImpl
すべての実装されたインタフェース:
Serializable, Pointcut

public class ActionMethodPointcutImpl
extends PointcutImpl
implements Serializable

アクションメソッドに適用される Pointcut

作成者:
baba
関連項目:
直列化された形式

コンストラクタの概要
ActionMethodPointcutImpl(Class<?> targetClass)
          ActionMethodPointcutImplを作成します。
ActionMethodPointcutImpl(String[] methodNames)
          ActionMethodPointcutImplを作成します。
 
メソッドの概要
 boolean isApplied(Method targetMethod)
           対象メソッドがアクションメソッドでない場合は false を返します。
 
クラス org.seasar.framework.aop.impl.PointcutImpl から継承されたメソッド
getMethodNames
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ActionMethodPointcutImpl

public ActionMethodPointcutImpl(Class<?> targetClass)
                         throws EmptyRuntimeException
ActionMethodPointcutImplを作成します。

パラメータ:
targetClass - 対象のクラス
例外:
EmptyRuntimeException - 対象のクラスが null の場合

ActionMethodPointcutImpl

public ActionMethodPointcutImpl(String[] methodNames)
                         throws EmptyRuntimeException
ActionMethodPointcutImplを作成します。

パラメータ:
methodNames - メソッド名
例外:
EmptyRuntimeException - メソッド名が null または空文字の場合
メソッドの詳細

isApplied

public boolean isApplied(Method targetMethod)

対象メソッドがアクションメソッドでない場合は false を返します。 そうでない場合はスーパークラスに処理を移譲します。

定義:
インタフェース Pointcut 内の isApplied
オーバーライド:
クラス PointcutImpl 内の isApplied


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