クラス XPathParamAnnotationMethodEndpointAdapter

実装されたすべてのインターフェース:
org.springframework.beans.factory.InitializingBeanEndpointAdapter

@DeprecatedSE public class XPathParamAnnotationMethodEndpointAdapter extends AbstractMethodEndpointAdapter implements org.springframework.beans.factory.InitializingBean
使用すべきではありません。
Spring Web Services 2.0 の時点で、DefaultMethodEndpointAdapterXPathParamMethodArgumentResolver が優先されます。
XPath 式を使用するエンドポイントメソッドをサポートするアダプター。次のシグネチャーを持つメソッドをサポートします。
 void handleMyMessage(@XPathParam("/root/child/text") String param);
 
または
 Source handleMyMessage(@XPathParam("/root/child/text") String param1,
                @XPathParam("/root/child/number") double param2);
 
I.e。void または SourceSE のいずれかを返し、そのパラメーターにバインドする必要がある XPath 式を指定する XPathParam アノテーションが付けられたパラメーターを持つメソッド。パラメーターには、次の型があります。
導入:
1.0.0
作成者:
Arjen Poutsma
  • コンストラクターの詳細

    • XPathParamAnnotationMethodEndpointAdapter

      public XPathParamAnnotationMethodEndpointAdapter()
      使用すべきではありません。
  • メソッドの詳細

    • setNamespaces

      public void setNamespaces(MapSE<StringSE,StringSE> namespaces)
      使用すべきではありません。
      XPath 式で使用される名前空間を設定します。プレフィックスを名前空間にマップします。
    • afterPropertiesSet

      public void afterPropertiesSet() throws ExceptionSE
      使用すべきではありません。
      次で指定:
      インターフェース org.springframework.beans.factory.InitializingBeanafterPropertiesSet 
      例外:
      ExceptionSE
    • supportsInternal

      protected boolean supportsInternal(MethodEndpoint methodEndpoint)
      使用すべきではありません。
      @XPathParam パラメーターを持つメソッドをサポートし、Source または何も返しません。
      次で指定:
      クラス AbstractMethodEndpointAdaptersupportsInternal 
      パラメーター:
      methodEndpoint - チェックするメソッドエンドポイント
      戻り値:
      このアダプターが指定されたメソッドを適合できるかどうか
    • invokeInternal

      protected void invokeInternal(MessageContext messageContext, MethodEndpoint methodEndpoint) throws ExceptionSE
      使用すべきではありません。
      クラスからコピーされた説明: AbstractMethodEndpointAdapter
      指定されたメソッドエンドポイントを使用してリクエストを処理します。
      次で指定:
      クラス AbstractMethodEndpointAdapterinvokeInternal 
      パラメーター:
      messageContext - 現在のメッセージコンテキスト
      methodEndpoint - 使用するメソッドエンドポイント
      例外:
      ExceptionSE - エラーの場合