public class MessagingMethodInvokerHelper<T> extends AbstractExpressionEvaluator implements org.springframework.context.Lifecycle
| Modifier and Type | Class and Description |
|---|---|
static class |
MessagingMethodInvokerHelper.ParametersWrapper |
EXPRESSION_PARSER| Constructor and Description |
|---|
MessagingMethodInvokerHelper(Object targetObject,
Class<? extends Annotation> annotationType,
boolean canProcessMessageList) |
MessagingMethodInvokerHelper(Object targetObject,
Class<? extends Annotation> annotationType,
Class<?> expectedType,
boolean canProcessMessageList) |
MessagingMethodInvokerHelper(Object targetObject,
Method method,
boolean canProcessMessageList) |
MessagingMethodInvokerHelper(Object targetObject,
Method method,
Class<?> expectedType,
boolean canProcessMessageList) |
MessagingMethodInvokerHelper(Object targetObject,
String methodName,
boolean canProcessMessageList) |
MessagingMethodInvokerHelper(Object targetObject,
String methodName,
Class<?> expectedType,
boolean canProcessMessageList) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRunning() |
T |
process(Collection<org.springframework.messaging.Message<?>> messages,
Map<String,?> headers) |
T |
process(org.springframework.messaging.Message<?> message) |
void |
start() |
void |
stop() |
String |
toString() |
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, setBeanFactory, setConversionServicepublic MessagingMethodInvokerHelper(Object targetObject, Method method, Class<?> expectedType, boolean canProcessMessageList)
public MessagingMethodInvokerHelper(Object targetObject, Method method, boolean canProcessMessageList)
public MessagingMethodInvokerHelper(Object targetObject, String methodName, Class<?> expectedType, boolean canProcessMessageList)
public MessagingMethodInvokerHelper(Object targetObject, String methodName, boolean canProcessMessageList)
public MessagingMethodInvokerHelper(Object targetObject, Class<? extends Annotation> annotationType, boolean canProcessMessageList)
public MessagingMethodInvokerHelper(Object targetObject, Class<? extends Annotation> annotationType, Class<?> expectedType, boolean canProcessMessageList)
public T process(org.springframework.messaging.Message<?> message) throws Exception
Exceptionpublic T process(Collection<org.springframework.messaging.Message<?>> messages, Map<String,?> headers) throws Exception
Exceptionpublic 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