1 16 package javax.xml.rpc.handler; 17 18 import javax.xml.namespace.QName ; 19 import java.io.Serializable ; 20 import java.util.HashMap ; 21 import java.util.Map ; 22 23 32 public class HandlerInfo implements Serializable { 33 34 35 public HandlerInfo() { 36 handlerClass = null; 37 config = new HashMap (); 38 } 39 40 49 public HandlerInfo(Class handlerClass, Map config, QName [] headers) { 50 51 this.handlerClass = handlerClass; 52 this.config = config; 53 this.headers = headers; 54 } 55 56 61 public void setHandlerClass(Class handlerClass) { 62 this.handlerClass = handlerClass; 63 } 64 65 71 public Class getHandlerClass() { 72 return handlerClass; 73 } 74 75 79 public void setHandlerConfig(Map config) { 80 this.config = config; 81 } 82 83 89 public Map getHandlerConfig() { 90 return config; 91 } 92 93 99 public void setHeaders(QName [] headers) { 100 this.headers = headers; 101 } 102 103 109 public QName [] getHeaders() { 110 return headers; 111 } 112 113 114 private Class handlerClass; 115 116 117 private Map config; 118 119 120 private QName [] headers; 121 } 122 123 | Popular Tags |