Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » server » axis » client » [javadoc | source]
    1   /**
    2    *  Licensed to the Apache Software Foundation (ASF) under one or more
    3    *  contributor license agreements.  See the NOTICE file distributed with
    4    *  this work for additional information regarding copyright ownership.
    5    *  The ASF licenses this file to You under the Apache License, Version 2.0
    6    *  (the "License"); you may not use this file except in compliance with
    7    *  the License.  You may obtain a copy of the License at
    8    *
    9    *     http://www.apache.org/licenses/LICENSE-2.0
   10    *
   11    *  Unless required by applicable law or agreed to in writing, software
   12    *  distributed under the License is distributed on an "AS IS" BASIS,
   13    *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   14    *  See the License for the specific language governing permissions and
   15    *  limitations under the License.
   16    */
   17   package org.apache.openejb.server.axis.client;
   18   
   19   import org.apache.axis.NoEndPointException;
   20   import org.apache.axis.client.Call;
   21   import org.apache.axis.message.SOAPHeaderElement;
   22   
   23   import javax.xml.namespace.QName;
   24   import javax.xml.rpc.Stub;
   25   import java.util.Iterator;
   26   
   27   public class GenericServiceEndpointWrapper implements Stub {
   28       private final GenericServiceEndpoint genericServiceEndpoint;
   29   
   30       public GenericServiceEndpointWrapper(GenericServiceEndpoint genericServiceEndpoint) {
   31           this.genericServiceEndpoint = genericServiceEndpoint;
   32       }
   33   
   34       public void _setProperty(String s, Object o) {
   35           genericServiceEndpoint._setProperty(s, o);
   36       }
   37   
   38       public Object _getProperty(String s) {
   39           return genericServiceEndpoint._getProperty(s);
   40       }
   41   
   42       public Object removeProperty(String s) {
   43           return genericServiceEndpoint.removeProperty(s);
   44       }
   45   
   46       public Iterator _getPropertyNames() {
   47           return genericServiceEndpoint._getPropertyNames();
   48       }
   49   
   50       public void setUsername(String s) {
   51           genericServiceEndpoint.setUsername(s);
   52       }
   53   
   54       public String getUsername() {
   55           return genericServiceEndpoint.getUsername();
   56       }
   57   
   58       public void setPassword(String s) {
   59           genericServiceEndpoint.setPassword(s);
   60       }
   61   
   62       public String getPassword() {
   63           return genericServiceEndpoint.getPassword();
   64       }
   65   
   66       public int getTimeout() {
   67           return genericServiceEndpoint.getTimeout();
   68       }
   69   
   70       public void setTimeout(int i) {
   71           genericServiceEndpoint.setTimeout(i);
   72       }
   73   
   74       public QName getPortName() {
   75           return genericServiceEndpoint.getPortName();
   76       }
   77   
   78       public void setPortName(QName qName) {
   79           genericServiceEndpoint.setPortName(qName);
   80       }
   81   
   82       public void setPortName(String s) {
   83           genericServiceEndpoint.setPortName(s);
   84       }
   85   
   86       public void setMaintainSession(boolean b) {
   87           genericServiceEndpoint.setMaintainSession(b);
   88       }
   89   
   90       public void setHeader(String s, String s1, Object o) {
   91           genericServiceEndpoint.setHeader(s, s1, o);
   92       }
   93   
   94       public void setHeader(SOAPHeaderElement soapHeaderElement) {
   95           genericServiceEndpoint.setHeader(soapHeaderElement);
   96       }
   97   
   98       public void extractAttachments(Call call) {
   99           genericServiceEndpoint.extractAttachments(call);
  100       }
  101   
  102       public void addAttachment(Object o) {
  103           genericServiceEndpoint.addAttachment(o);
  104       }
  105   
  106       public SOAPHeaderElement getHeader(String s, String s1) {
  107           return genericServiceEndpoint.getHeader(s, s1);
  108       }
  109   
  110       public SOAPHeaderElement getResponseHeader(String s, String s1) {
  111           return genericServiceEndpoint.getResponseHeader(s, s1);
  112       }
  113   
  114       public SOAPHeaderElement[] getHeaders() {
  115           return genericServiceEndpoint.getHeaders();
  116       }
  117   
  118       public SOAPHeaderElement[] getResponseHeaders() {
  119           return genericServiceEndpoint.getResponseHeaders();
  120       }
  121   
  122       public Object[] getAttachments() {
  123           return genericServiceEndpoint.getAttachments();
  124       }
  125   
  126       public void clearHeaders() {
  127           genericServiceEndpoint.clearHeaders();
  128       }
  129   
  130       public void clearAttachments() {
  131           genericServiceEndpoint.clearAttachments();
  132       }
  133   
  134       void checkCachedEndpoint() throws NoEndPointException {
  135           genericServiceEndpoint.checkCachedEndpoint();
  136       }
  137   }

Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » server » axis » client » [javadoc | source]