Spring Web Services Framework

org.springframework.ws.test.support.creator
Class PayloadMessageCreator

java.lang.Object
  extended by org.springframework.ws.test.support.creator.AbstractMessageCreator
      extended by org.springframework.ws.test.support.creator.PayloadMessageCreator
All Implemented Interfaces:
WebServiceMessageCreator

public class PayloadMessageCreator
extends AbstractMessageCreator

Implementation of WebServiceMessageCreator that creates a request based on a Source.

Since:
2.0
Author:
Arjen Poutsma

Constructor Summary
PayloadMessageCreator(Source payload)
          Creates a new instance of the PayloadMessageCreator with the given payload source.
 
Method Summary
protected  void doWithMessage(WebServiceMessage message)
          Abstract template method, invoked by AbstractMessageCreator.createMessage(WebServiceMessageFactory) after a message has been created.
 
Methods inherited from class org.springframework.ws.test.support.creator.AbstractMessageCreator
createMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PayloadMessageCreator

public PayloadMessageCreator(Source payload)
Creates a new instance of the PayloadMessageCreator with the given payload source.

Parameters:
payload - the payload source
Method Detail

doWithMessage

protected void doWithMessage(WebServiceMessage message)
                      throws IOException
Description copied from class: AbstractMessageCreator
Abstract template method, invoked by AbstractMessageCreator.createMessage(WebServiceMessageFactory) after a message has been created.

Specified by:
doWithMessage in class AbstractMessageCreator
Parameters:
message - the message
Throws:
IOException - in case of I/O errors

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.