类 WebDelegatingSmartContextLoader
- java.lang.Object
- org.springframework.test.context.support.AbstractDelegatingSmartContextLoader
- org.springframework.test.context.web.WebDelegatingSmartContextLoader
- 所有已实现的接口:
ContextLoader,SmartContextLoader
public class WebDelegatingSmartContextLoader extends AbstractDelegatingSmartContextLoader
WebDelegatingSmartContextLoaderis a concrete implementation ofAbstractDelegatingSmartContextLoaderthat delegates to aGenericXmlWebContextLoader(or aGenericGroovyXmlWebContextLoaderif Groovy is present on the classpath) and anAnnotationConfigWebContextLoader.- 从以下版本开始:
- 3.2
- 作者:
- Sam Brannen
- 另请参阅:
SmartContextLoader,AbstractDelegatingSmartContextLoader,GenericXmlWebContextLoader,AnnotationConfigWebContextLoader
构造器概要
构造器 构造器 说明 WebDelegatingSmartContextLoader()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected SmartContextLoadergetAnnotationConfigLoader()Get the delegateSmartContextLoaderthat supports annotated classes.protected SmartContextLoadergetXmlLoader()Get the delegateSmartContextLoaderthat 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()
从类复制的说明:AbstractDelegatingSmartContextLoaderGet the delegateSmartContextLoaderthat supports XML configuration files and/or Groovy scripts.
getAnnotationConfigLoader
protected SmartContextLoader getAnnotationConfigLoader()
从类复制的说明:AbstractDelegatingSmartContextLoaderGet the delegateSmartContextLoaderthat supports annotated classes.