KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.objectweb.celtix.bindings;
2
3
4 import java.util.Map JavaDoc;
5 import java.util.concurrent.Executor JavaDoc;
6
7 import javax.xml.namespace.QName JavaDoc;
8 import javax.xml.ws.WebServiceProvider;
9
10 import org.objectweb.celtix.context.ObjectMessageContext;
11
12 /**
13  * ServerBindingEndpointCallback
14  * Callback used from ServerBinding's to create the DataBindingCallback object used during dispatch
15  * to handle the IO requirements of the endpoint.
16  */

17 public interface ServerBindingEndpointCallback {
18     
19     /**
20      * Creates the DataBindingCallback object
21      * @param objContext The ObjectMessageContext for the dispatch
22      * @param mode The Mode for the dispatch
23      * @return a DataBinding callback object
24      */

25     ServerDataBindingCallback getDataBindingCallback(QName JavaDoc operationName,
26                                                      ObjectMessageContext objContext,
27                                                      DataBindingCallback.Mode mode);
28     
29     DataBindingCallback getFaultDataBindingCallback(ObjectMessageContext objContext);
30
31     
32     Map JavaDoc<QName JavaDoc, ? extends DataBindingCallback> getOperations();
33     javax.jws.soap.SOAPBinding.Style getStyle();
34     
35     /**
36      * Returns the ServiceMode used for the given Implementor
37      * @return the endpoint's service mode
38      */

39     DataBindingCallback.Mode getServiceMode();
40     
41     /**
42      * Returns the WebServiceProvider used for the given Endpoint
43      * @return the endpoint's service mode
44      */

45     WebServiceProvider getWebServiceProvider();
46
47     /**
48      * Returns the Executor to use to dispatch request
49      * @return Executor to use to dispatch request
50      */

51     Executor JavaDoc getExecutor();
52     
53 }
54
Popular Tags