1 17 package org.apache.geronimo.axis.client; 18 19 import java.util.Iterator ; 20 import java.io.Serializable ; 21 import javax.xml.namespace.QName ; 22 import javax.xml.rpc.Stub ; 23 24 import org.apache.axis.message.SOAPHeaderElement; 25 import org.apache.axis.client.Call; 26 import org.apache.axis.NoEndPointException; 27 28 32 public class GenericServiceEndpointWrapper implements Stub , Serializable { 33 private final GenericServiceEndpoint genericServiceEndpoint; 34 35 public GenericServiceEndpointWrapper(GenericServiceEndpoint genericServiceEndpoint) { 36 this.genericServiceEndpoint = genericServiceEndpoint; 37 } 38 39 public void _setProperty(String s, Object o) { 40 genericServiceEndpoint._setProperty(s, o); 41 } 42 43 public Object _getProperty(String s) { 44 return genericServiceEndpoint._getProperty(s); 45 } 46 47 public Object removeProperty(String s) { 48 return genericServiceEndpoint.removeProperty(s); 49 } 50 51 public Iterator _getPropertyNames() { 52 return genericServiceEndpoint._getPropertyNames(); 53 } 54 55 public void setUsername(String s) { 56 genericServiceEndpoint.setUsername(s); 57 } 58 59 public String getUsername() { 60 return genericServiceEndpoint.getUsername(); 61 } 62 63 public void setPassword(String s) { 64 genericServiceEndpoint.setPassword(s); 65 } 66 67 public String getPassword() { 68 return genericServiceEndpoint.getPassword(); 69 } 70 71 public int getTimeout() { 72 return genericServiceEndpoint.getTimeout(); 73 } 74 75 public void setTimeout(int i) { 76 genericServiceEndpoint.setTimeout(i); 77 } 78 79 public QName getPortName() { 80 return genericServiceEndpoint.getPortName(); 81 } 82 83 public void setPortName(QName qName) { 84 genericServiceEndpoint.setPortName(qName); 85 } 86 87 public void setPortName(String s) { 88 genericServiceEndpoint.setPortName(s); 89 } 90 91 public void setMaintainSession(boolean b) { 92 genericServiceEndpoint.setMaintainSession(b); 93 } 94 95 public void setHeader(String s, String s1, Object o) { 96 genericServiceEndpoint.setHeader(s, s1, o); 97 } 98 99 public void setHeader(SOAPHeaderElement soapHeaderElement) { 100 genericServiceEndpoint.setHeader(soapHeaderElement); 101 } 102 103 public void extractAttachments(Call call) { 104 genericServiceEndpoint.extractAttachments(call); 105 } 106 107 public void addAttachment(Object o) { 108 genericServiceEndpoint.addAttachment(o); 109 } 110 111 public SOAPHeaderElement getHeader(String s, String s1) { 112 return genericServiceEndpoint.getHeader(s, s1); 113 } 114 115 public SOAPHeaderElement getResponseHeader(String s, String s1) { 116 return genericServiceEndpoint.getResponseHeader(s, s1); 117 } 118 119 public SOAPHeaderElement[] getHeaders() { 120 return genericServiceEndpoint.getHeaders(); 121 } 122 123 public SOAPHeaderElement[] getResponseHeaders() { 124 return genericServiceEndpoint.getResponseHeaders(); 125 } 126 127 public Object [] getAttachments() { 128 return genericServiceEndpoint.getAttachments(); 129 } 130 131 public void clearHeaders() { 132 genericServiceEndpoint.clearHeaders(); 133 } 134 135 public void clearAttachments() { 136 genericServiceEndpoint.clearAttachments(); 137 } 138 139 void checkCachedEndpoint() throws NoEndPointException { 140 genericServiceEndpoint.checkCachedEndpoint(); 141 } 142 } 143 | Popular Tags |