T - the expected processMessage(org.springframework.messaging.Message<?>) result type.public class BeanNameMessageProcessor<T>
extends java.lang.Object
implements org.springframework.integration.handler.MessageProcessor<T>, org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.Lifecycle
MessageProcessor for lazy-load of target bean by its name.
For internal use only.| Constructor and Description |
|---|
BeanNameMessageProcessor(java.lang.String object,
java.lang.String methodName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRunning() |
T |
processMessage(org.springframework.messaging.Message<?> message) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
start() |
void |
stop() |
public BeanNameMessageProcessor(java.lang.String object,
java.lang.String methodName)
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic void start()
start in interface org.springframework.context.Lifecyclepublic void stop()
stop in interface org.springframework.context.Lifecyclepublic boolean isRunning()
isRunning in interface org.springframework.context.Lifecycle