接口的使用
org.springframework.test.context.CacheAwareContextLoaderDelegate
使用CacheAwareContextLoaderDelegate的程序包 程序包 说明 org.springframework.test.context This package contains the Spring TestContext Framework which provides annotation-driven unit and integration testing support that is agnostic of the actual testing framework in use.org.springframework.test.context.cache Support for context caching within the Spring TestContext Framework.org.springframework.test.context.support Support classes for the Spring TestContext Framework.org.springframework.test.context.web Web support classes for the Spring TestContext Framework.org.springframework.test.context中CacheAwareContextLoaderDelegate的使用
返回CacheAwareContextLoaderDelegate的org.springframework.test.context中的方法 修饰符和类型 方法 说明 CacheAwareContextLoaderDelegateBootstrapContext. getCacheAwareContextLoaderDelegate()Get theCacheAwareContextLoaderDelegateto use for transparent interaction with theContextCache.参数类型为CacheAwareContextLoaderDelegate的org.springframework.test.context中的构造器 构造器 说明 MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent)Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent)Create a newMergedContextConfigurationinstance for the supplied parameters.MergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent)Create a newMergedContextConfigurationinstance for the supplied parameters.org.springframework.test.context.cache中CacheAwareContextLoaderDelegate的使用
实现CacheAwareContextLoaderDelegate的org.springframework.test.context.cache中的类 修饰符和类型 类 说明 classDefaultCacheAwareContextLoaderDelegateDefault implementation of theCacheAwareContextLoaderDelegateinterface.org.springframework.test.context.support中CacheAwareContextLoaderDelegate的使用
返回CacheAwareContextLoaderDelegate的org.springframework.test.context.support中的方法 修饰符和类型 方法 说明 protected CacheAwareContextLoaderDelegateAbstractTestContextBootstrapper. getCacheAwareContextLoaderDelegate()Get theCacheAwareContextLoaderDelegateto use for transparent interaction with theContextCache.CacheAwareContextLoaderDelegateDefaultBootstrapContext. getCacheAwareContextLoaderDelegate()Get theCacheAwareContextLoaderDelegateto use for transparent interaction with theContextCache.参数类型为CacheAwareContextLoaderDelegate的org.springframework.test.context.support中的构造器 构造器 说明 DefaultBootstrapContext(Class<?> testClass, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate)Construct a newDefaultBootstrapContextfrom the supplied arguments.DefaultTestContext(Class<?> testClass, MergedContextConfiguration mergedContextConfiguration, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate)Construct a newDefaultTestContextfrom the supplied arguments.org.springframework.test.context.web中CacheAwareContextLoaderDelegate的使用
参数类型为CacheAwareContextLoaderDelegate的org.springframework.test.context.web中的构造器 构造器 说明 WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent)Create a newWebMergedContextConfigurationinstance for the supplied parameters.WebMergedContextConfiguration(Class<?> testClass, String[] locations, Class<?>[] classes, Set<Class<? extends ApplicationContextInitializer<?>>> contextInitializerClasses, String[] activeProfiles, String[] propertySourceLocations, String[] propertySourceProperties, Set<ContextCustomizer> contextCustomizers, String resourceBasePath, ContextLoader contextLoader, CacheAwareContextLoaderDelegate cacheAwareContextLoaderDelegate, MergedContextConfiguration parent)Create a newWebMergedContextConfigurationinstance for the supplied parameters.