public class MethodAnnotationPublisherMetadataSource extends ObjectSE
PublisherMetadataSource
実装。修飾子と型 | フィールドと説明 |
---|---|
static StringSE | ARGUMENT_MAP_VARIABLE_NAME |
static StringSE | EXCEPTION_VARIABLE_NAME |
static ExpressionParser | EXPRESSION_PARSER |
static StringSE | METHOD_NAME_VARIABLE_NAME |
static Expression | RETURN_VALUE_EXPRESSION |
static StringSE | RETURN_VALUE_VARIABLE_NAME |
コンストラクターと説明 |
---|
MethodAnnotationPublisherMetadataSource() |
MethodAnnotationPublisherMetadataSource(SetSE<ClassSE<? extends AnnotationSE>> annotationTypes) |
修飾子と型 | メソッドと説明 |
---|---|
StringSE | getChannelName(MethodSE method) この特定のメソッド呼び出しでメッセージを公開するチャネル名を返します。 |
Expression | getExpressionForPayload(MethodSE method) メッセージペイロードを作成するために評価される SpEL 式を返します。 |
MapSE<StringSE, Expression> | getExpressionsForHeaders(MethodSE method) 公開されたメッセージに設定する必要のあるヘッダーについて評価される式文字列のマップを返します。 |
void | setChannelAttributeName(StringSE channelAttributeName) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public static final ExpressionParser EXPRESSION_PARSER
public static final Expression RETURN_VALUE_EXPRESSION
public MethodAnnotationPublisherMetadataSource()
public MethodAnnotationPublisherMetadataSource(SetSE<ClassSE<? extends AnnotationSE>> annotationTypes)
public void setChannelAttributeName(StringSE channelAttributeName)
public StringSE getChannelName(MethodSE method)
method
- メソッド。public Expression getExpressionForPayload(MethodSE method)
method
- メソッド。public MapSE<StringSE,Expression> getExpressionsForHeaders(MethodSE method)
method
- メソッド。