クラス 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 voidinitExcludedPatternRepresentation(StringSE[] excludedPatterns) 提供されたString[]からの除外PatternsSE を初期化します。protected voidinitPatternRepresentation(StringSE[] patterns) 提供されたString[]からPatternsSE を初期化します。protected booleanprotected booleanmatchesExclusion(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
コンストラクターの詳細
JdkRegexpMethodPointcut
public JdkRegexpMethodPointcut()
メソッドの詳細
initPatternRepresentation
提供されたString[]からPatternsSE を初期化します。- 次で指定:
- クラス
AbstractRegexpMethodPointcutのinitPatternRepresentation - パラメーター:
patterns- 初期化するパターン- 例外:
PatternSyntaxExceptionSE
initExcludedPatternRepresentation
protected 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