クラス 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) クラス ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース 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 名。