01: package org.objectweb.celtix.bindings;
02:
03: import javax.xml.ws.Binding;
04:
05: import org.objectweb.celtix.configuration.Configuration;
06: import org.objectweb.celtix.context.ObjectMessageContext;
07: import org.objectweb.celtix.handlers.HandlerInvoker;
08:
09: /**
10: * Contains base operations to be implemented by bindings.
11: */
12: public interface BindingBase {
13:
14: /**
15: * Returns the <code>Binding</code> reference.
16: *
17: * @return The Binding.
18: */
19: Binding getBinding();
20:
21: /**
22: * Create an <code>ObjectMessageContext</code>.
23: *
24: * @return The newly created ObjectMessageContext.
25: */
26: ObjectMessageContext createObjectContext();
27:
28: /**
29: * Create a <code>HandlerInvoker</code>.
30: *
31: * @return The newly create <code>HandlerInvoker</code>
32: */
33: HandlerInvoker createHandlerInvoker();
34:
35: void configureSystemHandlers(Configuration c);
36:
37: boolean isBindingCompatible(String address);
38: }
|