クラス GlobalChannelInterceptorProcessor
java.lang.ObjectSE
org.springframework.integration.config.GlobalChannelInterceptorProcessor
- 実装されているすべてのインターフェース:
AopInfrastructureBean、Aware、BeanFactoryAware、BeanPostProcessor、SmartInitializingSingleton
public final class GlobalChannelInterceptorProcessor
extends ObjectSE
implements BeanFactoryAware, SmartInitializingSingleton, BeanPostProcessor, AopInfrastructureBean
このクラスは、グローバルインターセプター(
<channel-interceptor> または @GlobalChannelInterceptor)をメッセージチャネル Bean に適用します。- 導入:
- 2.0
- 作成者:
- Oleg Zhurakousky, Mark Fisher, Artem Bilan, Gary Russell, Meherzad Lahewala
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明voidaddMatchingInterceptors(InterceptableChannel channel, StringSE beanName) パターンがチャネル名と一致するインターセプターを追加します。voidpostProcessAfterInitialization(ObjectSE bean, StringSE beanName) voidsetBeanFactory(BeanFactory beanFactory) クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.springframework.beans.factory.config.BeanPostProcessor から継承されたメソッド
postProcessBeforeInitialization
コンストラクターの詳細
GlobalChannelInterceptorProcessor
public GlobalChannelInterceptorProcessor()
メソッドの詳細
setBeanFactory
- 次で指定:
- インターフェース
BeanFactoryAwareのsetBeanFactory - 例外:
BeansException
afterSingletonsInstantiated
public void afterSingletonsInstantiated()- 次で指定:
- インターフェース
SmartInitializingSingletonのafterSingletonsInstantiated
postProcessAfterInitialization
public ObjectSE postProcessAfterInitialization(ObjectSE bean, StringSE beanName) throws BeansException - 次で指定:
- インターフェース
BeanPostProcessorのpostProcessAfterInitialization - 例外:
BeansException
addMatchingInterceptors
パターンがチャネル名と一致するインターセプターを追加します。- パラメーター:
channel- インターセプターを追加するメッセージチャネル。beanName- パターンに一致するメッセージチャネル Bean 名。