01: package org.objectweb.celtix.bindings;
02:
03: import java.io.IOException;
04:
05: import javax.wsdl.WSDLException;
06:
07: import org.objectweb.celtix.context.OutputStreamMessageContext;
08:
09: /**
10: * ServerBinding
11: */
12: public interface ServerBinding extends BindingBase {
13:
14: /**
15: * Activate the endpoint. Usually creates the transport and binds to the transport.
16: * @throws WSDLException
17: * @throws IOException
18: */
19: void activate() throws WSDLException, IOException;
20:
21: /**
22: * Deactivate the endpoint. Tear down the transport, disconnect from ports, etc...
23: * @throws IOException
24: */
25: void deactivate() throws IOException;
26:
27: /**
28: * Make an initial partial response to an incoming request. The partial
29: * response may only contain 'header' information, and not a 'body'.
30: *
31: * @param context object message context
32: * @param callback callback for data binding
33: */
34: void partialResponse(OutputStreamMessageContext outputContext,
35: DataBindingCallback callback) throws IOException;
36:
37: }
|