类 AssertProviderApplicationContextInvocationHandler
java.lang.Object
cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
- 所有已实现的接口:
InvocationHandler
InvocationHandler used by ApplicationContextAssertProvider generated
proxies.- 作者:
- Phillip Webb
-
字段概要
字段修饰符和类型字段说明private final cn.taketoday.context.ApplicationContextprivate final Class<?>private final RuntimeException -
构造器概要
构造器构造器说明AssertProviderApplicationContextInvocationHandler(Class<?> applicationContextType, Supplier<?> contextSupplier) -
方法概要
修饰符和类型方法说明private ObjectgetAssertThat(Object proxy) private ObjectgetContextOrStartupFailure(Supplier<?> contextSupplier) private ObjectgetSourceContext(Object[] args) private cn.taketoday.context.ApplicationContextprivate Objectprivate ObjectinvokeApplicationContextMethod(Method method, Object[] args) private Objectprivate booleanisAssertThat(Method method) private booleanisCloseMethod(Method method) private booleanisGetSourceContext(Method method) private booleanisGetStartupFailure(Method method) private booleanisToString(Method method) toString()
-
字段详细资料
-
applicationContextType
-
applicationContext
private final cn.taketoday.context.ApplicationContext applicationContext -
startupFailure
-
-
构造器详细资料
-
AssertProviderApplicationContextInvocationHandler
-
-
方法详细资料
-
getContextOrStartupFailure
-
invoke
- 指定者:
invoke在接口中InvocationHandler- 抛出:
Throwable
-
isToString
-
toString
-
isGetSourceContext
-
getSourceContext
-
isGetStartupFailure
-
getStartupFailure
-
isAssertThat
-
getAssertThat
-
isCloseMethod
-
invokeClose
-
invokeApplicationContextMethod
- 抛出:
Throwable
-
getStartedApplicationContext
private cn.taketoday.context.ApplicationContext getStartedApplicationContext()
-