类 DuplicateJsonObjectContextCustomizerFactory
java.lang.Object
cn.taketoday.framework.test.json.DuplicateJsonObjectContextCustomizerFactory
- 所有已实现的接口:
ContextCustomizerFactory
class DuplicateJsonObjectContextCustomizerFactory
extends Object
implements ContextCustomizerFactory
A
ContextCustomizerFactory that produces a ContextCustomizer that warns
the user when multiple occurrences of JSONObject are found on the class path.- 作者:
- Andy Wilkinson
-
嵌套类概要
嵌套类修饰符和类型类说明private static class -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明createContextCustomizer(Class<?> testClass, List<ContextConfigurationAttributes> configAttributes) Create aContextCustomizerthat should be used to customize aConfigurableApplicationContextbefore it is refreshed.
-
构造器详细资料
-
DuplicateJsonObjectContextCustomizerFactory
DuplicateJsonObjectContextCustomizerFactory()
-
-
方法详细资料
-
createContextCustomizer
public ContextCustomizer createContextCustomizer(Class<?> testClass, List<ContextConfigurationAttributes> configAttributes) 从接口复制的说明:ContextCustomizerFactoryCreate aContextCustomizerthat should be used to customize aConfigurableApplicationContextbefore it is refreshed.- 指定者:
createContextCustomizer在接口中ContextCustomizerFactory- 参数:
testClass- the test classconfigAttributes- the list of context configuration attributes for the test class, ordered bottom-up (i.e., as if we were traversing up the class hierarchy); nevernullor empty- 返回:
- a
ContextCustomizerornullif no customizer should be used
-