public class MethodInvokingMessageSource extends AbstractMessageSource<ObjectSE> implements ManageableLifecycle
MessageSource
実装。IntegrationManagement.ManagementOverrides
EXPRESSION_PARSER, logger
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME
コンストラクターと説明 |
---|
MethodInvokingMessageSource() |
修飾子と型 | メソッドと説明 |
---|---|
protected ObjectSE | doReceive() サブクラスはこのメソッドを実装する必要があります。 |
StringSE | getComponentType() |
boolean | isRunning() |
protected void | onInit() |
void | setMethod(MethodSE method) |
void | setMethodName(StringSE methodName) |
void | setObject(ObjectSE object) |
void | start() |
void | stop() |
buildMessage, destroy, getBeanName, getComponentName, getManagedName, getManagedType, getOverrides, isLoggingEnabled, receive, registerMetricsCaptor, setBeanName, setHeaderExpressions, setLoggingEnabled, setManagedName, setManagedType
afterPropertiesSet, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getBeanFactory, getEvaluationContext, getEvaluationContext, getMessageBuilderFactory, setBeanFactory, setConversionService
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
getIntegrationPatternType
getThisAs
public void setObject(ObjectSE object)
public void setMethod(MethodSE method)
public void setMethodName(StringSE methodName)
public StringSE getComponentType()
NamedComponent
の getComponentType
protected void onInit()
AbstractExpressionEvaluator
の onInit
public void start()
Lifecycle
の start
ManageableLifecycle
の start
public void stop()
Lifecycle
の stop
ManageableLifecycle
の stop
public boolean isRunning()
Lifecycle
の isRunning
ManageableLifecycle
の isRunning
protected ObjectSE doReceive()
AbstractMessageSource
payload
ですが、戻り値はペイロードが T 型の Message
インスタンスでもかまいません。追加のヘッダーの作成に使用される AbstractIntegrationMessageBuilder
にすることもできます。AbstractMessageSource<ObjectSE>
の doReceive