public class GenericGroovyXmlWebContextLoader extends GenericXmlWebContextLoader
AbstractGenericWebContextLoader
の具体的な実装。 デフォルトのリソースの場所は、サフィックス "-context.xml"
および "Context.groovy"
を使用して検出されます。
GroovyBeanDefinitionReader
, GenericXmlWebContextLoader
, AnnotationConfigWebContextLoader
logger
コンストラクターと説明 |
---|
GenericGroovyXmlWebContextLoader() |
修飾子と型 | メソッドと説明 |
---|---|
protected StringSE | getResourceSuffix() GenericGroovyXmlWebContextLoader は、デフォルトの検出のために Groovy と XML の両方のリソース型をサポートします。 |
protected StringSE[] | getResourceSuffixes() デフォルトの XML 構成ファイルまたは Groovy スクリプトの検出をサポートするために、 "-context.xml" and "Context.groovy" を返します。 |
protected void | loadBeanDefinitions(GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig) GroovyBeanDefinitionReader を使用して、提供された WebMergedContextConfiguration の場所から提供された context に Bean 定義をロードします。 |
validateMergedContextConfiguration
configureWebResources, customizeBeanFactory, customizeContext, loadContext, loadContext
customizeContext, generateDefaultLocations, isGenerateDefaultLocations, modifyLocations, prepareContext, processContextConfiguration, processLocations
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
protected void loadBeanDefinitions(GenericWebApplicationContext context, WebMergedContextConfiguration webMergedConfig)
GroovyBeanDefinitionReader
を使用して、提供された WebMergedContextConfiguration
の場所から提供された context
に Bean 定義をロードします。GenericXmlWebContextLoader
の loadBeanDefinitions
context
- Bean 定義をロードする必要があるコンテキスト webMergedConfig
- マージされたコンテキスト構成 AbstractGenericWebContextLoader.loadBeanDefinitions(org.springframework.web.context.support.GenericWebApplicationContext, org.springframework.test.context.web.WebMergedContextConfiguration)
protected StringSE[] getResourceSuffixes()
"-context.xml" and "Context.groovy"
を返します。AbstractContextLoader
の getResourceSuffixes
null
または空にしない AbstractContextLoader.generateDefaultLocations(Class)
protected StringSE getResourceSuffix()
GenericGroovyXmlWebContextLoader
は、デフォルトの検出のために Groovy と XML の両方のリソース型をサポートします。このメソッドはサポートされていません。GenericXmlWebContextLoader
の getResourceSuffix
null
または空にしない UnsupportedOperationExceptionSE
- この実装 getResourceSuffixes()