类 AssertProviderApplicationContextInvocationHandler

java.lang.Object
cn.taketoday.framework.test.context.assertj.AssertProviderApplicationContextInvocationHandler
所有已实现的接口:
InvocationHandler

class AssertProviderApplicationContextInvocationHandler extends Object implements InvocationHandler
作者:
Phillip Webb
  • 字段详细资料

    • applicationContextType

      private final Class<?> applicationContextType
    • applicationContext

      private final cn.taketoday.context.ApplicationContext applicationContext
    • startupFailure

      private final RuntimeException startupFailure
  • 构造器详细资料

    • AssertProviderApplicationContextInvocationHandler

      AssertProviderApplicationContextInvocationHandler(Class<?> applicationContextType, Supplier<?> contextSupplier)
  • 方法详细资料

    • getContextOrStartupFailure

      private Object getContextOrStartupFailure(Supplier<?> contextSupplier)
    • invoke

      public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
      指定者:
      invoke 在接口中 InvocationHandler
      抛出:
      Throwable
    • isToString

      private boolean isToString(Method method)
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • isGetSourceContext

      private boolean isGetSourceContext(Method method)
    • getSourceContext

      private Object getSourceContext(Object[] args)
    • isGetStartupFailure

      private boolean isGetStartupFailure(Method method)
    • getStartupFailure

      private Object getStartupFailure()
    • isAssertThat

      private boolean isAssertThat(Method method)
    • getAssertThat

      private Object getAssertThat(Object proxy)
    • isCloseMethod

      private boolean isCloseMethod(Method method)
    • invokeClose

      private Object invokeClose()
    • invokeApplicationContextMethod

      private Object invokeApplicationContextMethod(Method method, Object[] args) throws Throwable
      抛出:
      Throwable
    • getStartedApplicationContext

      private cn.taketoday.context.ApplicationContext getStartedApplicationContext()