C
- アプリケーションコンテキスト型 @FunctionalInterfaceSE public interface ContextConsumer<C extends ApplicationContext>
ApplicationContext
の処理に使用されるコールバックインターフェース。AbstractApplicationContextRunner
修飾子と型 | メソッドと説明 |
---|---|
void | accept(C context) 提供された context でこの操作を実行します。 |
default ContextConsumer<C> | andThen(ContextConsumer<? super C> after) この操作に続いて after 操作を順番に実行する合成 ContextConsumer を返します。 |
void accept(C context) throws ThrowableSE
context
でこの操作を実行します。context
- 消費するアプリケーションコンテキスト ThrowableSE
- アサーションで発生する可能性のある例外 default ContextConsumer<C> andThen(ContextConsumer<? super C> after)
after
操作を順番に実行する合成 ContextConsumer
を返します。after
- この操作の後に実行する操作 after
操作を順番に実行する合成 ContextConsumer