DefaultMethodEndpointAdapter
and MessageContextMethodArgumentResolver
.@Deprecated public class MessageMethodEndpointAdapter extends AbstractMethodEndpointAdapter
void handleMyMessage(MessageContext request);I.e. methods that take a single
MessageContext
parameter, and return void
. The method can have
any name, as long as it is mapped by an EndpointMapping
.
This adapter is registered by default by the MessageDispatcher
and SoapMessageDispatcher
.
logger
Constructor and Description |
---|
MessageMethodEndpointAdapter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
invokeInternal(MessageContext messageContext,
MethodEndpoint methodEndpoint)
Deprecated.
Use the given method endpoint to handle the request.
|
protected boolean |
supportsInternal(MethodEndpoint methodEndpoint)
Deprecated.
Given a method endpoint, return whether or not this adapter can support it.
|
invoke, supports
createTransformer, getTransformerFactory, newTransformerFactory, setTransformerFactoryClass, transform
protected boolean supportsInternal(MethodEndpoint methodEndpoint)
AbstractMethodEndpointAdapter
supportsInternal
in class AbstractMethodEndpointAdapter
methodEndpoint
- method endpoint to checkprotected void invokeInternal(MessageContext messageContext, MethodEndpoint methodEndpoint) throws Exception
AbstractMethodEndpointAdapter
invokeInternal
in class AbstractMethodEndpointAdapter
messageContext
- the current message contextmethodEndpoint
- the method endpoint to useException
- in case of errorsCopyright © 2020 Pivotal Software. All rights reserved.