インターフェース ConfigurationUtils
public interface ConfigurationUtils
構成実装のさまざまな場所で使用する必要がある一般的な機能を一元化するためのヘルパークラス。
- 導入:
- 2.0
- 作成者:
- Oliver Gierke, Johannes Englmeier
メソッドのサマリー
静的メソッド修飾子と型メソッド説明static StringSEgetRequiredBeanClassName(BeanDefinition beanDefinition) 指定されたBeanDefinitionの Bean クラス名を返します。static ClassLoaderSEgetRequiredClassLoader(XmlReaderContext context) 指定されたXmlReaderContextによって使用されるClassLoaderSE を返します。static ClassLoaderSEgetRequiredClassLoader(ResourceLoader resourceLoader) 指定されたResourceLoaderによって使用されるClassLoaderSE を返します。static ResourceLoader指定されたXmlReaderContextからResourceLoaderを返します。
メソッドの詳細
getRequiredResourceLoader
指定されたXmlReaderContextからResourceLoaderを返します。- パラメーター:
context- null であってはなりません。- 戻り値:
- 例外:
IllegalArgumentExceptionSE-XmlReaderContextからResourceLoaderを取得できない場合。
getRequiredClassLoader
指定されたXmlReaderContextによって使用されるClassLoaderSE を返します。- パラメーター:
context- null であってはなりません。- 戻り値:
- 例外:
IllegalArgumentExceptionSE- 指定されたXmlReaderContextからClassLoaderSE を取得できない場合。
getRequiredClassLoader
指定されたResourceLoaderによって使用されるClassLoaderSE を返します。- パラメーター:
resourceLoader- null であってはなりません。- 戻り値:
- 例外:
IllegalArgumentExceptionSE- 指定されたResourceLoaderがClassLoaderSE を公開しない場合。
getRequiredBeanClassName
指定されたBeanDefinitionの Bean クラス名を返します。- パラメーター:
beanDefinition- null であってはなりません。- 戻り値:
- 例外:
IllegalArgumentExceptionSE- 指定されたBeanDefinitionに Bean クラス名が含まれていない場合。