public final class GlobalChannelInterceptorProcessor extends Object implements BeanFactoryAware, SmartInitializingSingleton, BeanPostProcessor
<channel-interceptor> or @GlobalChannelInterceptor)
to message channels beans.| Constructor and Description |
|---|
GlobalChannelInterceptorProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMatchingInterceptors(InterceptableChannel channel,
String beanName)
Add any interceptor whose pattern matches against the channel's name.
|
void |
afterSingletonsInstantiated() |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
void |
setBeanFactory(BeanFactory beanFactory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostProcessBeforeInitializationpublic void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory in interface BeanFactoryAwareBeansExceptionpublic void afterSingletonsInstantiated()
afterSingletonsInstantiated in interface SmartInitializingSingletonpublic Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException
postProcessAfterInitialization in interface BeanPostProcessorBeansExceptionpublic void addMatchingInterceptors(InterceptableChannel channel, String beanName)
channel - the message channel to add interceptors.beanName - the message channel bean name to match the pattern.