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, wait
postProcessBeforeInitialization
public void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory
in interface BeanFactoryAware
BeansException
public void afterSingletonsInstantiated()
afterSingletonsInstantiated
in interface SmartInitializingSingleton
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException
postProcessAfterInitialization
in interface BeanPostProcessor
BeansException
public void addMatchingInterceptors(InterceptableChannel channel, String beanName)
channel
- the message channel to add interceptors.beanName
- the message channel bean name to match the pattern.