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, setConversionService
public 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
Exception
public T process(Collection<org.springframework.messaging.Message<?>> messages, Map<String,?> headers) throws Exception
Exception
public void start()
start
in interface org.springframework.context.Lifecycle
public void stop()
stop
in interface org.springframework.context.Lifecycle
public boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle