クラス GenericMarshallingMethodEndpointAdapter
java.lang.ObjectSE
org.springframework.xml.transform.TransformerObjectSupport
org.springframework.ws.server.endpoint.adapter.AbstractMethodEndpointAdapter
org.springframework.ws.server.endpoint.adapter.MarshallingMethodEndpointAdapter
org.springframework.ws.server.endpoint.adapter.GenericMarshallingMethodEndpointAdapter
- 実装されているすべてのインターフェース:
org.springframework.beans.factory.InitializingBean,EndpointAdapter
@DeprecatedSE
public class GenericMarshallingMethodEndpointAdapter
extends MarshallingMethodEndpointAdapter
使用すべきではありません。
GenericMarshaller および GenericUnmarshaller をサポートする MarshallingMethodEndpointAdapter のサブクラス。より具体的には、このアダプターは Method.getGenericParameterTypes() および Method.getGenericReturnType() を認識します。 プレーンな MarshallingMethodEndpointAdapter を Jaxb2Marshaller などの Java 5 マーシャラーと組み合わせて使用するのではなく、このアダプターを使用することをお勧めします。
- 導入:
- 1.0.2
- 作成者:
- Arjen Poutsma
フィールドのサマリー
クラス org.springframework.xml.transform.TransformerObjectSupport から継承されたフィールド
loggerコンストラクターの概要
コンストラクターコンストラクター説明使用すべきではありません。新しいGenericMarshallingMethodEndpointAdapterを作成します。GenericMarshallingMethodEndpointAdapter(org.springframework.oxm.Marshaller marshaller) 使用すべきではありません。指定されたマーシャラーで新しいGenericMarshallingMethodEndpointAdapterを作成します。GenericMarshallingMethodEndpointAdapter(org.springframework.oxm.Marshaller marshaller, org.springframework.oxm.Unmarshaller unmarshaller) 使用すべきではありません。指定されたマーシャラーとアンマーシャラーを使用して新しいGenericMarshallingMethodEndpointAdapterを作成します。メソッドのサマリー
修飾子と型メソッド説明protected booleansupportsInternal(MethodEndpoint methodEndpoint) 使用すべきではありません。単一のマーシャリング不可能なパラメーターを持ち、voidまたはマーシャリング可能な型を返すメソッドをサポートします。クラス org.springframework.ws.server.endpoint.adapter.MarshallingMethodEndpointAdapter から継承されたメソッド
afterPropertiesSet, getMarshaller, getUnmarshaller, invokeInternal, setMarshaller, setUnmarshallerクラス org.springframework.ws.server.endpoint.adapter.AbstractMethodEndpointAdapter から継承されたメソッド
invoke, supportsクラス org.springframework.xml.transform.TransformerObjectSupport から継承されたメソッド
createTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transform
コンストラクターの詳細
GenericMarshallingMethodEndpointAdapter
public GenericMarshallingMethodEndpointAdapter()使用すべきではありません。新しいGenericMarshallingMethodEndpointAdapterを作成します。MarshallerおよびUnmarshallerは、プロパティを使用して注入する必要があります。GenericMarshallingMethodEndpointAdapter
public GenericMarshallingMethodEndpointAdapter(org.springframework.oxm.Marshaller marshaller) 使用すべきではありません。指定されたマーシャラーで新しいGenericMarshallingMethodEndpointAdapterを作成します。指定されたMarshallerがUnmarshallerインターフェースも実装している場合、マーシャリングとアンマーシャリングの両方に使用されます。それ以外の場合は、例外がスローされます。Spring-WS のすべての
Marshaller実装はUnmarshallerインターフェースも実装しているため、このコンストラクターを安全に使用できることに注意してください。- パラメーター:
marshaller- マーシャラーおよびアンマーシャラーとして使用されるオブジェクト- 例外:
IllegalArgumentExceptionSE-marshallerがUnmarshallerインターフェースを実装していない場合
GenericMarshallingMethodEndpointAdapter
public GenericMarshallingMethodEndpointAdapter(org.springframework.oxm.Marshaller marshaller, org.springframework.oxm.Unmarshaller unmarshaller) 使用すべきではありません。指定されたマーシャラーとアンマーシャラーを使用して新しいGenericMarshallingMethodEndpointAdapterを作成します。- パラメーター:
marshaller- 使用するマーシャラーunmarshaller- 使用するアンマーシャラー
メソッドの詳細
supportsInternal
使用すべきではありません。クラスからコピーされた説明:MarshallingMethodEndpointAdapter単一のマーシャリング不可能なパラメーターを持ち、voidまたはマーシャリング可能な型を返すメソッドをサポートします。- オーバーライド:
- クラス
MarshallingMethodEndpointAdapterのsupportsInternal - パラメーター:
methodEndpoint- チェックするメソッドエンドポイント- 戻り値:
- このアダプターが指定されたメソッドを適合できるかどうか
- 関連事項:
Marshaller.supports(Class)Unmarshaller.supports(Class)
DefaultMethodEndpointAdapterとMarshallingPayloadMethodProcessorが優先されます。