public abstract class WebServiceMessageReceiverObjectSupport extends Object implements org.springframework.beans.factory.InitializingBean
WebServiceMessageFactory
, and has
methods for handling incoming WebServiceConnection
s.handleConnection(org.springframework.ws.transport.WebServiceConnection, org.springframework.ws.transport.WebServiceMessageReceiver)
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger
Logger available to subclasses.
|
Constructor and Description |
---|
WebServiceMessageReceiverObjectSupport() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
WebServiceMessageFactory |
getMessageFactory()
Returns the
WebServiceMessageFactory . |
protected void |
handleConnection(WebServiceConnection connection,
WebServiceMessageReceiver receiver)
|
void |
setMessageFactory(WebServiceMessageFactory messageFactory)
Sets the
WebServiceMessageFactory . |
protected final org.apache.commons.logging.Log logger
public WebServiceMessageReceiverObjectSupport()
public WebServiceMessageFactory getMessageFactory()
WebServiceMessageFactory
.public void setMessageFactory(WebServiceMessageFactory messageFactory)
WebServiceMessageFactory
.public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
protected final void handleConnection(WebServiceConnection connection, WebServiceMessageReceiver receiver) throws Exception
receving
a
message from it, passing it to the receiver
, and sending
the response (if any).
Stores the given connection in the TransportContext
.connection
- the incoming connectionreceiver
- the handler of the message, typically a MessageDispatcher
Exception
Copyright © 2005–2015 The Spring Web Services Framework. All rights reserved.