类 DelegatingSmartContextLoader
- java.lang.Object
- org.springframework.test.context.support.AbstractDelegatingSmartContextLoader
- org.springframework.test.context.support.DelegatingSmartContextLoader
- 所有已实现的接口:
ContextLoader
,SmartContextLoader
public class DelegatingSmartContextLoader extends AbstractDelegatingSmartContextLoader
DelegatingSmartContextLoader
is a concrete implementation ofAbstractDelegatingSmartContextLoader
that delegates to aGenericXmlContextLoader
(or aGenericGroovyXmlContextLoader
if Groovy is present in the classpath) and anAnnotationConfigContextLoader
.- 从以下版本开始:
- 3.1
- 作者:
- Sam Brannen
- 另请参阅:
SmartContextLoader
,AbstractDelegatingSmartContextLoader
,GenericXmlContextLoader
,GenericGroovyXmlContextLoader
,AnnotationConfigContextLoader
构造器概要
构造器 构造器 说明 DelegatingSmartContextLoader()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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
构造器详细资料
DelegatingSmartContextLoader
public DelegatingSmartContextLoader()
方法详细资料
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.