クラス PayloadRootAnnotationMethodEndpointMapping
java.lang.ObjectSE
org.springframework.context.support.ApplicationObjectSupport
org.springframework.ws.server.endpoint.mapping.AbstractEndpointMapping
org.springframework.ws.server.endpoint.mapping.AbstractMethodEndpointMapping<QNameSE>
org.springframework.ws.server.endpoint.mapping.AbstractAnnotationMethodEndpointMapping<QNameSE>
org.springframework.ws.server.endpoint.mapping.PayloadRootAnnotationMethodEndpointMapping
- 実装済みのインターフェース一覧:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered, EndpointMapping
public class PayloadRootAnnotationMethodEndpointMapping
extends AbstractAnnotationMethodEndpointMapping<QNameSE>
PayloadRoot アノテーションを使用してメソッドをマップしてペイロードルート要素をリクエストする EndpointMapping インターフェースの実装。通常、エンドポイントの形式は次のとおりです。
@Endpoint
public class MyEndpoint{
@PayloadRoot(localPart = "Request",
namespace = "http://springframework.org/spring-ws")
public Source doSomethingWithRequest() {
...
}
}
- 導入:
- 1.0.0
フィールド概要
クラス org.springframework.context.support.ApplicationObjectSupport から継承されたフィールド
loggerインターフェース org.springframework.core.Ordered から継承されたフィールド
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCEコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明protected @Nullable QNameSEgetLookupKeyForMessage(MessageContext messageContext) 指定されたメッセージコンテキストのエンドポイントキーを返します。getLookupKeysForMethod(MethodSE method) 指定されたメソッドのエンドポイントキーを返します。static voidsetTransformerFactory(TransformerFactorySE transformerFactory) デフォルトのTransformerFactorySE をオーバーライドします。クラス AbstractAnnotationMethodEndpointMapping から継承されたメソッド
getEndpointAnnotationType, initApplicationContext, setDetectEndpointsInAncestorContextsクラス AbstractMethodEndpointMapping から継承されたメソッド
getEndpointClass, getEndpointInternal, getLookupKeyForMethod, lookupEndpoint, registerEndpoint, registerMethods, registerMethodsクラス AbstractEndpointMapping から継承されたメソッド
createEndpointInvocationChain, getDefaultEndpoint, getEndpoint, getInterceptors, getOrder, initInterceptors, resolveStringEndpoint, setDefaultEndpoint, setInterceptors, setOrderクラス org.springframework.context.support.ApplicationObjectSupport から継承されたメソッド
getApplicationContext, getMessageSourceAccessor, initApplicationContext, isContextRequired, obtainApplicationContext, requiredContextClass, setApplicationContext
コンストラクターの詳細
PayloadRootAnnotationMethodEndpointMapping
public PayloadRootAnnotationMethodEndpointMapping()
方法の詳細
setTransformerFactory
デフォルトのTransformerFactorySE をオーバーライドします。- パラメーター:
transformerFactory- 使用するトランスフォーマーファクトリ
getLookupKeyForMessage
protected @Nullable QNameSE getLookupKeyForMessage(MessageContext messageContext) throws ExceptionSE クラスからコピーされた説明:AbstractMethodEndpointMapping指定されたメッセージコンテキストのエンドポイントキーを返します。- 次で指定:
- クラス
AbstractMethodEndpointMapping<QNameSE>のgetLookupKeyForMessage - 戻り値:
- 登録キー
- 例外:
ExceptionSE
getLookupKeysForMethod
クラスからコピーされた説明:AbstractMethodEndpointMapping指定されたメソッドのエンドポイントキーを返します。メソッドを登録しない場合は、空の配列を返す必要があります。デフォルトではAbstractMethodEndpointMapping.getLookupKeyForMethod(Method)に委譲されます。- オーバーライド:
- クラス
AbstractMethodEndpointMapping<QNameSE>のgetLookupKeysForMethod - パラメーター:
method- メソッド- 戻り値:
- 登録キーのリスト