1 57 58 package org.apache.wsif; 59 60 import java.io.Serializable ; 61 62 73 public interface WSIFOperation extends Serializable { 74 75 98 public boolean executeRequestResponseOperation( 99 WSIFMessage input, 100 WSIFMessage output, 101 WSIFMessage fault) 102 throws WSIFException; 103 104 113 public WSIFCorrelationId executeRequestResponseAsync(WSIFMessage input) 114 throws WSIFException; 115 116 127 public WSIFCorrelationId executeRequestResponseAsync( 128 WSIFMessage input, 129 WSIFResponseHandler handler) 130 throws WSIFException; 131 132 138 public void fireAsyncResponse(Object response) throws WSIFException; 139 140 163 public boolean processAsyncResponse( 164 Object response, 165 WSIFMessage output, 166 WSIFMessage fault) 167 throws WSIFException; 168 169 175 public void executeInputOnlyOperation(WSIFMessage input) throws WSIFException; 176 177 184 public void setContext(WSIFMessage context); 185 186 190 public WSIFMessage getContext() throws WSIFException; 191 192 197 public WSIFMessage createInputMessage(); 198 199 204 public WSIFMessage createInputMessage(String name); 205 206 211 public WSIFMessage createOutputMessage(); 212 213 219 public WSIFMessage createOutputMessage(String name); 220 221 226 public WSIFMessage createFaultMessage(); 227 228 234 public WSIFMessage createFaultMessage(String name); 235 236 } 237 | Popular Tags |