类 WebDelegatingSmartContextLoader
- java.lang.Object
- org.springframework.test.context.support.AbstractDelegatingSmartContextLoader
- org.springframework.test.context.web.WebDelegatingSmartContextLoader
- 所有已实现的接口:
ContextLoader
,SmartContextLoader
public class WebDelegatingSmartContextLoader extends AbstractDelegatingSmartContextLoader
WebDelegatingSmartContextLoader
is a concrete implementation ofAbstractDelegatingSmartContextLoader
that delegates to aGenericXmlWebContextLoader
(or aGenericGroovyXmlWebContextLoader
if Groovy is present on the classpath) and anAnnotationConfigWebContextLoader
.- 从以下版本开始:
- 3.2
- 作者:
- Sam Brannen
- 另请参阅:
SmartContextLoader
,AbstractDelegatingSmartContextLoader
,GenericXmlWebContextLoader
,AnnotationConfigWebContextLoader
构造器概要
构造器 构造器 说明 WebDelegatingSmartContextLoader()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected SmartContextLoader
getAnnotationConfigLoader()
Get the delegateSmartContextLoader
that supports annotated classes.protected SmartContextLoader
getXmlLoader()
Get the delegateSmartContextLoader
that supports XML configuration files and/or Groovy scripts.从类继承的方法 org.springframework.test.context.support.AbstractDelegatingSmartContextLoader
loadContext, loadContext, processContextConfiguration, processLocations
构造器详细资料
WebDelegatingSmartContextLoader
public WebDelegatingSmartContextLoader()
方法详细资料
getXmlLoader
protected SmartContextLoader getXmlLoader()
从类复制的说明:AbstractDelegatingSmartContextLoader
Get the delegateSmartContextLoader
that supports XML configuration files and/or Groovy scripts.
getAnnotationConfigLoader
protected SmartContextLoader getAnnotationConfigLoader()
从类复制的说明:AbstractDelegatingSmartContextLoader
Get the delegateSmartContextLoader
that supports annotated classes.