|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.ws.transport.support.WebServiceMessageReceiverObjectSupport
public abstract class WebServiceMessageReceiverObjectSupport
Convenience base class for server-side transport objects. Contains a WebServiceMessageFactory
, and has
methods for handling incoming WebServiceConnection
s.
handleConnection(org.springframework.ws.transport.WebServiceConnection, org.springframework.ws.transport.WebServiceMessageReceiver)
Field Summary | |
---|---|
protected Log |
logger
Logger available to subclasses. |
Constructor Summary | |
---|---|
WebServiceMessageReceiverObjectSupport()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
WebServiceMessageFactory |
getMessageFactory()
Returns the WebServiceMessageFactory . |
protected void |
handleConnection(WebServiceConnection connection,
WebServiceMessageReceiver receiver)
Handles an incoming connection by receving a
message from it, passing it to the receiver , and sending the response (if any). |
void |
setMessageFactory(WebServiceMessageFactory messageFactory)
Sets the WebServiceMessageFactory . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Log logger
Constructor Detail |
---|
public WebServiceMessageReceiverObjectSupport()
Method Detail |
---|
public WebServiceMessageFactory getMessageFactory()
WebServiceMessageFactory
.
public void setMessageFactory(WebServiceMessageFactory messageFactory)
WebServiceMessageFactory
.
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface 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 transport context.
connection
- the incoming connectionreceiver
- the handler of the message, typically a MessageDispatcher
Exception
TransportContext
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |