クラス JdkRegexpMethodPointcut
java.lang.ObjectSE
org.springframework.aop.support.StaticMethodMatcher
org.springframework.aop.support.StaticMethodMatcherPointcut
org.springframework.aop.support.AbstractRegexpMethodPointcut
org.springframework.aop.support.JdkRegexpMethodPointcut
- 実装されているすべてのインターフェース:
- SerializableSE、- MethodMatcher、- Pointcut
java.util.regex パッケージに基づく正規表現ポイントカット。次の JavaBean プロパティをサポートします。- パターン: 一致する完全修飾メソッド名の正規表現
- パターン: パターンの文字列配列を取る代替プロパティ。結果は、これらのパターンの結合になります。
 メモ: 正規表現は一致する必要があります。例: .*get.* は com.mycom.Foo.getBar() と一致します。get.* はしません。
- 導入:
- 1.1
- 作成者:
- Dmitriy Kopylenko, Rob Harrop
- 関連事項:
- フィールドのサマリー- インターフェース org.springframework.aop.MethodMatcher から継承されたフィールド- TRUE
- コンストラクターの概要コンストラクター
- メソッドのサマリー修飾子と型メソッド説明- protected void- initExcludedPatternRepresentation- (StringSE[] excludedPatterns) 提供された- String[]からの除外- PatternsSE を初期化します。- protected void- initPatternRepresentation- (StringSE[] patterns) 提供された- String[]から- PatternsSE を初期化します。- protected boolean- protected boolean- matchesExclusion- (StringSE candidate, int patternIndex) - クラス org.springframework.aop.support.AbstractRegexpMethodPointcut から継承されたメソッド- equals, getExcludedPatterns, getPatterns, hashCode, matches, matchesPattern, setExcludedPattern, setExcludedPatterns, setPattern, setPatterns, toString- クラス org.springframework.aop.support.StaticMethodMatcherPointcut から継承されたメソッド- getClassFilter, getMethodMatcher, setClassFilter- クラス org.springframework.aop.support.StaticMethodMatcher から継承されたメソッド- isRuntime, matches
- コンストラクターの詳細- JdkRegexpMethodPointcutpublic JdkRegexpMethodPointcut()
 
- メソッドの詳細- initPatternRepresentation提供された- String[]から- PatternsSE を初期化します。- 次で指定:
-  クラス AbstractRegexpMethodPointcutのinitPatternRepresentation
- パラメーター:
- patterns- 初期化するパターン
- 例外:
- PatternSyntaxExceptionSE
 
- initExcludedPatternRepresentationprotected void initExcludedPatternRepresentation- (StringSE[] excludedPatterns) throws PatternSyntaxExceptionSE 提供された- String[]からの除外- PatternsSE を初期化します。- 次で指定:
-  クラス AbstractRegexpMethodPointcutのinitExcludedPatternRepresentation
- パラメーター:
- excludedPatterns- 初期化するパターン
- 例外:
- PatternSyntaxExceptionSE
 
- matches- 次で指定:
-  クラス AbstractRegexpMethodPointcutのmatches
- パラメーター:
- pattern- 一致する- Stringパターン
- patternIndex- パターンのインデックス (0 から)
- 戻り値:
-  一致がある場合は true、それ以外の場合はfalse
 
- matchesExclusion- 次で指定:
-  クラス AbstractRegexpMethodPointcutのmatchesExclusion
- パラメーター:
- candidate- 一致する- Stringパターン
- patternIndex- パターンのインデックス (0 から)
- 戻り値:
-  一致がある場合は true、それ以外の場合はfalse