1 16 17 package org.apache.axis ; 18 19 import org.w3c.dom.Document ; 20 import org.w3c.dom.Element ; 21 22 import javax.xml.namespace.QName ; 23 import java.io.Serializable ; 24 import java.util.Hashtable ; 25 import java.util.List ; 26 27 32 public interface Handler extends Serializable { 33 37 public void init(); 38 39 43 public void cleanup(); 44 45 58 public void invoke(MessageContext msgContext) throws AxisFault ; 59 60 66 public void onFault(MessageContext msgContext); 67 68 75 public boolean canHandleBlock(QName qname); 76 77 86 public List getUnderstoodHeaders(); 87 88 95 public void setOption(String name, Object value); 96 97 103 public Object getOption(String name); 104 105 110 public void setName(String name); 111 112 117 public String getName(); 118 119 126 public Hashtable getOptions(); 127 128 136 public void setOptions(Hashtable opts); 137 138 153 public Element getDeploymentData(Document doc); 154 155 165 public void generateWSDL(MessageContext msgContext) throws AxisFault; 166 }; 167 | Popular Tags |