接口 ContextConsumer<C extends org.springframework.context.ApplicationContext>
- 类型参数:
C
- the application context type
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
@FunctionalInterface public interface ContextConsumer<C extends org.springframework.context.ApplicationContext>
Callback interface used to process anApplicationContext
with the ability to throw a (checked) exception.- 从以下版本开始:
- 2.0.0
- 另请参阅:
AbstractApplicationContextRunner