KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > celtix > bindings > ServerBinding


1 package org.objectweb.celtix.bindings;
2
3 import java.io.IOException JavaDoc;
4
5 import javax.wsdl.WSDLException;
6
7 import org.objectweb.celtix.context.OutputStreamMessageContext;
8
9 /**
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 JavaDoc;
20     
21     /**
22      * Deactivate the endpoint. Tear down the transport, disconnect from ports, etc...
23      * @throws IOException
24      */

25     void deactivate() throws IOException JavaDoc;
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 JavaDoc;
36     
37     
38 }
39
Popular Tags