クラス ReaderContext
java.lang.ObjectSE
org.springframework.beans.factory.parsing.ReaderContext
- 既知の直属サブクラス
XmlReaderContext
Bean 定義の読み取りプロセスに沿って渡されるコンテキストで、関連するすべての構成と状態をカプセル化します。
- 導入:
- 2.0
- 作成者:
- Rob Harrop, Juergen Hoeller
コンストラクターの概要
コンストラクターコンストラクター説明ReaderContext(Resource resource, ProblemReporter problemReporter, ReaderEventListener eventListener, SourceExtractor sourceExtractor) 新しいReaderContextを作成します。メソッドのサマリー
修飾子と型メソッド説明void通常のエラーを発生させます。void通常のエラーを発生させます。void通常のエラーを発生させます。voiderror(StringSE message, @Nullable ObjectSE source, @Nullable ParseState parseState, @Nullable ThrowableSE cause) 通常のエラーを発生させます。extractSource(ObjectSE sourceCandidate) 指定されたソースオブジェクトのソースエクストラクターを呼び出します。void致命的なエラーを発生させます。void致命的なエラーを発生させます。void致命的なエラーを発生させます。voidfatal(StringSE message, @Nullable ObjectSE source, @Nullable ParseState parseState, @Nullable ThrowableSE cause) 致命的なエラーを発生させます。voidfireAliasRegistered(StringSE beanName, StringSE alias, @Nullable ObjectSE source) エイリアス登録イベントを起動します。voidfireComponentRegistered(ComponentDefinition componentDefinition) コンポーネント登録イベントを発生させます。voidfireDefaultsRegistered(DefaultsDefinition defaultsDefinition) デフォルトで登録されたイベントを発生させます。voidfireImportProcessed(StringSE importedResource, @Nullable ObjectSE source) インポート処理されたイベントを起動します。voidfireImportProcessed(StringSE importedResource, Resource[] actualResources, @Nullable ObjectSE source) インポート処理されたイベントを起動します。final Resource使用中のソースエクストラクターを返します。void重大ではない警告を発します。void重大ではない警告を発します。void重大ではない警告を発します。voidwarning(StringSE message, @Nullable ObjectSE source, @Nullable ParseState parseState, @Nullable ThrowableSE cause) 重大ではない警告を発します。
コンストラクターの詳細
ReaderContext
public ReaderContext(Resource resource, ProblemReporter problemReporter, ReaderEventListener eventListener, SourceExtractor sourceExtractor) 新しいReaderContextを作成します。- パラメーター:
resource- XML Bean 定義リソースproblemReporter- 使用中の問題レポーターeventListener- 使用中のイベントリスナーsourceExtractor- 使用中のソースエクストラクター
メソッドの詳細
getResource
fatal
fatal
致命的なエラーを発生させます。fatal
致命的なエラーを発生させます。fatal
public void fatal(StringSE message, @Nullable ObjectSE source, @Nullable ParseState parseState, @Nullable ThrowableSE cause) 致命的なエラーを発生させます。error
error
通常のエラーを発生させます。error
通常のエラーを発生させます。error
public void error(StringSE message, @Nullable ObjectSE source, @Nullable ParseState parseState, @Nullable ThrowableSE cause) 通常のエラーを発生させます。warning
warning
重大ではない警告を発します。warning
重大ではない警告を発します。warning
public void warning(StringSE message, @Nullable ObjectSE source, @Nullable ParseState parseState, @Nullable ThrowableSE cause) 重大ではない警告を発します。fireDefaultsRegistered
デフォルトで登録されたイベントを発生させます。fireComponentRegistered
コンポーネント登録イベントを発生させます。fireAliasRegistered
fireImportProcessed
fireImportProcessed
getSourceExtractor
使用中のソースエクストラクターを返します。extractSource