com.eviware.soapui.impl.wsdl.mock.dispatch
Class SequenceMockOperationDispatcher

java.lang.Object
  extended by com.eviware.soapui.impl.wsdl.mock.dispatch.AbstractMockOperationDispatcher
      extended by com.eviware.soapui.impl.wsdl.mock.dispatch.SequenceMockOperationDispatcher
All Implemented Interfaces:
MockOperationDispatcher, MockRunListener, PropertyChangeNotifier

public class SequenceMockOperationDispatcher
extends AbstractMockOperationDispatcher
implements MockRunListener


Nested Class Summary
static class SequenceMockOperationDispatcher.Factory
           
 
Constructor Summary
SequenceMockOperationDispatcher(WsdlMockOperation mockOperation)
           
 
Method Summary
 MockResult onMockRequest(MockRunner runner, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Called before dispatching a request.
 void onMockResult(MockResult result)
           
 void onMockRunnerStart(MockRunner mockRunner)
           
 void onMockRunnerStop(MockRunner mockRunner)
           
 void release()
           
 WsdlMockResponse selectMockResponse(WsdlMockRequest request, WsdlMockResult result)
           
 
Methods inherited from class com.eviware.soapui.impl.wsdl.mock.dispatch.AbstractMockOperationDispatcher
addPropertyChangeListener, addPropertyChangeListener, buildEditorComponent, getConfig, getMockOperation, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener, saveConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceMockOperationDispatcher

public SequenceMockOperationDispatcher(WsdlMockOperation mockOperation)
Method Detail

selectMockResponse

public WsdlMockResponse selectMockResponse(WsdlMockRequest request,
                                           WsdlMockResult result)
Specified by:
selectMockResponse in interface MockOperationDispatcher

release

public void release()
Specified by:
release in interface MockOperationDispatcher
Overrides:
release in class AbstractMockOperationDispatcher

onMockRunnerStart

public void onMockRunnerStart(MockRunner mockRunner)
Specified by:
onMockRunnerStart in interface MockRunListener

onMockResult

public void onMockResult(MockResult result)
Specified by:
onMockResult in interface MockRunListener

onMockRunnerStop

public void onMockRunnerStop(MockRunner mockRunner)
Specified by:
onMockRunnerStop in interface MockRunListener

onMockRequest

public MockResult onMockRequest(MockRunner runner,
                                javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response)
Description copied from interface: MockRunListener
Called before dispatching a request. If a MockResult is returned, further dispatching is aborted and the returned result is used.

Specified by:
onMockRequest in interface MockRunListener
Returns:
an optional MockResult, null if dispatching should move on as usual


Copyright © 2005-2008 eviware.com. All Rights Reserved.