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