类 TestRestTemplateContextCustomizer
java.lang.Object
cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer
- 所有已实现的接口:
ContextCustomizer
- 作者:
- Phillip Webb, Andy Wilkinson, Harry Yang
-
嵌套类概要
嵌套类修饰符和类型类说明static classFactoryBeanused to create and configure aTestRestTemplate.(专用程序包) static classBeanDefinitionRegistryPostProcessorthat runs after theConfigurationClassPostProcessorand add aTestRestTemplateContextCustomizer.TestRestTemplateFactorybean definition when aTestRestTemplatehasn't already been registered. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidcustomizeContext(cn.taketoday.context.ConfigurableApplicationContext context, MergedContextConfiguration mergedContextConfiguration) Customize the suppliedConfigurableApplicationContextafter bean definitions have been loaded into the context but before the context has been refreshed.booleaninthashCode()private voidregisterTestRestTemplate(cn.taketoday.beans.factory.support.BeanDefinitionRegistry registry) private voidregisterTestRestTemplate(cn.taketoday.context.ConfigurableApplicationContext context)
-
构造器详细资料
-
TestRestTemplateContextCustomizer
TestRestTemplateContextCustomizer()
-
-
方法详细资料
-
customizeContext
public void customizeContext(cn.taketoday.context.ConfigurableApplicationContext context, MergedContextConfiguration mergedContextConfiguration) 从接口复制的说明:ContextCustomizerCustomize the suppliedConfigurableApplicationContextafter bean definitions have been loaded into the context but before the context has been refreshed.- 指定者:
customizeContext在接口中ContextCustomizer- 参数:
context- the context to customizemergedContextConfiguration- the merged context configuration
-
registerTestRestTemplate
private void registerTestRestTemplate(cn.taketoday.context.ConfigurableApplicationContext context) -
registerTestRestTemplate
private void registerTestRestTemplate(cn.taketoday.beans.factory.support.BeanDefinitionRegistry registry) -
equals
-
hashCode
public int hashCode()
-