KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > samples > jaxrpc > hello > ServerHandler


1 package samples.jaxrpc.hello;
2
3 public class ServerHandler implements javax.xml.rpc.handler.Handler JavaDoc {
4     public ServerHandler() {
5     }
6
7     public boolean handleRequest(javax.xml.rpc.handler.MessageContext JavaDoc context) {
8         System.out.println("ServerHandler: In handleRequest");
9         return true;
10     }
11
12     public boolean handleResponse(javax.xml.rpc.handler.MessageContext JavaDoc context) {
13         System.out.println("ServerHandler: In handleResponse");
14         return true;
15     }
16
17     public boolean handleFault(javax.xml.rpc.handler.MessageContext JavaDoc context) {
18         System.out.println("ServerHandler: In handleFault");
19         return true;
20     }
21
22     public void init(javax.xml.rpc.handler.HandlerInfo JavaDoc config) {
23     }
24
25     public void destroy() {
26     }
27
28     public javax.xml.namespace.QName JavaDoc[] getHeaders() {
29         return null;
30     }
31 }
32
33
Popular Tags