Class MessageEndpointAdapter
java.lang.Object
org.springframework.ws.server.endpoint.adapter.MessageEndpointAdapter
- All Implemented Interfaces:
EndpointAdapter
Adapter to use a
MessageEndpoint as the endpoint for a
EndpointInvocationChain.
This adapter is registered by default by the MessageDispatcher and
SoapMessageDispatcher.
- Since:
- 1.0.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinvoke(MessageContext messageContext, Object endpoint) Use the givenendpointto handle the request.booleanDoes thisEndpointAdaptersupport the givenendpoint?
-
Constructor Details
-
MessageEndpointAdapter
public MessageEndpointAdapter()
-
-
Method Details
-
supports
Description copied from interface:EndpointAdapterDoes thisEndpointAdaptersupport the givenendpoint?Typical
EndpointAdapterswill base the decision on the endpoint type.- Specified by:
supportsin interfaceEndpointAdapter- Parameters:
endpoint- endpoint object to check- Returns:
trueif thisEndpointAdaptersupports the suppliedendpoint
-
invoke
Description copied from interface:EndpointAdapterUse the givenendpointto handle the request.- Specified by:
invokein interfaceEndpointAdapter- Parameters:
messageContext- the current message contextendpoint- the endpoint to use. This object must have previously been passed to theEndpointAdapter.supports(Object)method of this interface, which must have returnedtrue- Throws:
Exception- in case of errors
-