接口 ApplicationContextFailureProcessor
public interface ApplicationContextFailureProcessor
Strategy for components that process failures related to application contexts
within the Infra TestContext Framework.
Implementations must be registered via the
TodayStrategies mechanism.
- 从以下版本开始:
- 4.0 2023/6/15 21:13
- 作者:
- Sam Brannen, Harry Yang
- 另请参阅:
-
方法概要
修饰符和类型方法说明voidprocessLoadFailure(cn.taketoday.context.ApplicationContext context, Throwable exception) Invoked when a failure was encountered while attempting to load anApplicationContext.
-
方法详细资料
-
processLoadFailure
Invoked when a failure was encountered while attempting to load anApplicationContext.Implementations of this method must not throw any exceptions. Consequently, any exception thrown by an implementation of this method will be ignored, though potentially logged.
- 参数:
context- the application context that did not load successfullyexception- the exception thrown while loading the application context
-