Class WebDelegatingSmartContextLoader
java.lang.Object
org.springframework.test.context.support.AbstractDelegatingSmartContextLoader
org.springframework.test.context.web.WebDelegatingSmartContextLoader
- All Implemented Interfaces:
- AotContextLoader,- ContextLoader,- SmartContextLoader
WebDelegatingSmartContextLoader is a concrete implementation of
 AbstractDelegatingSmartContextLoader that delegates to a
 GenericXmlWebContextLoader (or a GenericGroovyXmlWebContextLoader if
 Groovy is present on the classpath) and an AnnotationConfigWebContextLoader.- Since:
- 3.2
- Author:
- Sam Brannen
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected SmartContextLoaderGet the delegateSmartContextLoaderthat supports annotated classes.protected SmartContextLoaderGet the delegateSmartContextLoaderthat supports XML configuration files and/or Groovy scripts.Methods inherited from class org.springframework.test.context.support.AbstractDelegatingSmartContextLoaderloadContext, loadContextForAotProcessing, loadContextForAotRuntime, processContextConfigurationMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.test.context.SmartContextLoaderloadContext, processLocations
- 
Constructor Details- 
WebDelegatingSmartContextLoaderpublic WebDelegatingSmartContextLoader()
 
- 
- 
Method Details- 
getXmlLoaderDescription copied from class:AbstractDelegatingSmartContextLoaderGet the delegateSmartContextLoaderthat supports XML configuration files and/or Groovy scripts.- Specified by:
- getXmlLoaderin class- AbstractDelegatingSmartContextLoader
 
- 
getAnnotationConfigLoaderDescription copied from class:AbstractDelegatingSmartContextLoaderGet the delegateSmartContextLoaderthat supports annotated classes.- Specified by:
- getAnnotationConfigLoaderin class- AbstractDelegatingSmartContextLoader
 
 
-