Interface ContextConsumer<C extends org.springframework.context.ApplicationContext>
- Type Parameters:
C
- the application context type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ContextConsumer<C extends org.springframework.context.ApplicationContext>
Callback interface used to process anApplicationContext
with the ability to throw a (checked) exception.- Since:
- 2.0.0
- See Also:
AbstractApplicationContextRunner
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(C context)
Performs this operation on the suppliedcontext
.