クラス 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[]
からの除外Patterns
SE を初期化します。protected void
initPatternRepresentation
(StringSE[] patterns) 提供されたString[]
からPatterns
SE を初期化します。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
コンストラクターの詳細
JdkRegexpMethodPointcut
public JdkRegexpMethodPointcut()
メソッドの詳細
initPatternRepresentation
提供されたString[]
からPatterns
SE を初期化します。- 次で指定:
- クラス
AbstractRegexpMethodPointcut
のinitPatternRepresentation
- パラメーター:
patterns
- 初期化するパターン- 例外:
PatternSyntaxExceptionSE
initExcludedPatternRepresentation
protected void initExcludedPatternRepresentation(StringSE[] excludedPatterns) throws PatternSyntaxExceptionSE 提供されたString[]
からの除外Patterns
SE を初期化します。- 次で指定:
- クラス
AbstractRegexpMethodPointcut
のinitExcludedPatternRepresentation
- パラメーター:
excludedPatterns
- 初期化するパターン- 例外:
PatternSyntaxExceptionSE
matches
- 次で指定:
- クラス
AbstractRegexpMethodPointcut
のmatches
- パラメーター:
pattern
- 一致するString
パターンpatternIndex
- パターンのインデックス (0 から)- 戻り値:
- 一致がある場合は
true
、それ以外の場合はfalse
matchesExclusion
- 次で指定:
- クラス
AbstractRegexpMethodPointcut
のmatchesExclusion
- パラメーター:
candidate
- 一致するString
パターンpatternIndex
- パターンのインデックス (0 から)- 戻り値:
- 一致がある場合は
true
、それ以外の場合はfalse