Polishing.

This commit is contained in:
Rick Evans
2007-05-23 20:29:15 +00:00
parent 92ab66c2ee
commit bca063fc37

View File

@@ -21,18 +21,21 @@ import java.io.IOException;
import org.springframework.ws.WebServiceMessage;
/**
* Generic callback interface for code that operates on a {@link WebServiceMessage}. Allows to execute any number of
* operations on the message, for example set the contents of the message, or set the <code>SOAPAction</code> header.
* Generic callback interface for code that operates on a {@link WebServiceMessage}.
*
* <p>Implementations can execute any number of operations on the message, such as
* set the contents of the message, or set the <code>SOAPAction</code> header.
*
* @author Arjen Poutsma
*/
public interface WebServiceMessageCallback {
/**
* Gets called by <code>WebServiceTemplate.sendAndReceice</code> with a <code>WebServiceMessage</code>.
* Execute any number of operations on the supplied <code>message</code>.
*
* @param message the message
* @throws IOException in case of I/O errors
*/
void doInMessage(WebServiceMessage message) throws IOException;
}