Home » openejb-3.1.2-src » org.apache » openejb » server » axis » [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;
   18   
   19   import org.apache.axis.constants.Style;
   20   import org.apache.axis.constants.Use;
   21   import org.apache.axis.description.JavaServiceDesc;
   22   import org.apache.axis.description.OperationDesc;
   23   import org.apache.axis.encoding.TypeMapping;
   24   import org.apache.axis.encoding.TypeMappingRegistry;
   25   
   26   import javax.xml.namespace.QName;
   27   import java.util.ArrayList;
   28   import java.util.List;
   29   
   30   public class ReadOnlyServiceDesc extends JavaServiceDesc {
   31       private JavaServiceDesc serviceDesc;
   32   
   33       public ReadOnlyServiceDesc(JavaServiceDesc serviceDesc) {
   34           this.serviceDesc = serviceDesc;
   35       }
   36   
   37       public Class getImplClass() {
   38           return serviceDesc.getImplClass();
   39       }
   40   
   41       public void setImplClass(Class implClass) {
   42           serviceDesc.setImplClass(implClass);
   43       }
   44   
   45       public ArrayList getStopClasses() {
   46           return serviceDesc.getStopClasses();
   47       }
   48   
   49       public void setStopClasses(ArrayList stopClasses) {
   50       }
   51   
   52       public void loadServiceDescByIntrospection() {
   53           serviceDesc.loadServiceDescByIntrospection();
   54       }
   55   
   56       public void loadServiceDescByIntrospection(Class implClass) {
   57           serviceDesc.loadServiceDescByIntrospection(implClass);
   58       }
   59   
   60       public void loadServiceDescByIntrospection(Class cls, TypeMapping tm) {
   61           serviceDesc.loadServiceDescByIntrospection(cls, tm);
   62       }
   63   
   64       public Style getStyle() {
   65           return serviceDesc.getStyle();
   66       }
   67   
   68       public void setStyle(Style style) {
   69       }
   70   
   71       public Use getUse() {
   72           return serviceDesc.getUse();
   73       }
   74   
   75       public void setUse(Use use) {
   76       }
   77   
   78       public String getWSDLFile() {
   79           return serviceDesc.getWSDLFile();
   80       }
   81   
   82       public void setWSDLFile(String wsdlFileName) {
   83       }
   84   
   85       public List getAllowedMethods() {
   86           return serviceDesc.getAllowedMethods();
   87       }
   88   
   89       public void setAllowedMethods(List allowedMethods) {
   90       }
   91   
   92       public TypeMapping getTypeMapping() {
   93           return serviceDesc.getTypeMapping();
   94       }
   95   
   96       public void setTypeMapping(TypeMapping tm) {
   97       }
   98   
   99       public String getName() {
  100           return serviceDesc.getName();
  101       }
  102   
  103       public void setName(String name) {
  104       }
  105   
  106       public String getDocumentation() {
  107           return serviceDesc.getDocumentation();
  108       }
  109   
  110       public void setDocumentation(String documentation) {
  111       }
  112   
  113       public void removeOperationDesc(OperationDesc operation) {
  114       }
  115   
  116       public void addOperationDesc(OperationDesc operation) {
  117       }
  118   
  119       public ArrayList getOperations() {
  120           return serviceDesc.getOperations();
  121       }
  122   
  123       public OperationDesc[] getOperationsByName(String methodName) {
  124           return serviceDesc.getOperationsByName(methodName);
  125       }
  126   
  127       public OperationDesc getOperationByName(String methodName) {
  128           return serviceDesc.getOperationByName(methodName);
  129       }
  130   
  131       public OperationDesc getOperationByElementQName(QName qname) {
  132           return serviceDesc.getOperationByElementQName(qname);
  133       }
  134   
  135       public OperationDesc[] getOperationsByQName(QName qname) {
  136           return serviceDesc.getOperationsByQName(qname);
  137       }
  138   
  139       public void setNamespaceMappings(List namespaces) {
  140       }
  141   
  142       public String getDefaultNamespace() {
  143           return serviceDesc.getDefaultNamespace();
  144       }
  145   
  146       public void setDefaultNamespace(String namespace) {
  147       }
  148   
  149       public void setProperty(String name, Object value) {
  150           serviceDesc.setProperty(name, value);
  151       }
  152   
  153       public Object getProperty(String name) {
  154           return serviceDesc.getProperty(name);
  155       }
  156   
  157       public String getEndpointURL() {
  158           return serviceDesc.getEndpointURL();
  159       }
  160   
  161       public void setEndpointURL(String endpointURL) {
  162       }
  163   
  164       public TypeMappingRegistry getTypeMappingRegistry() {
  165           return serviceDesc.getTypeMappingRegistry();
  166       }
  167   
  168       public void setTypeMappingRegistry(TypeMappingRegistry tmr) {
  169       }
  170   
  171       public boolean isInitialized() {
  172           return serviceDesc.isInitialized();
  173       }
  174   
  175       public boolean isWrapped() {
  176           return serviceDesc.isWrapped();
  177       }
  178   
  179       public List getDisallowedMethods() {
  180           return serviceDesc.getDisallowedMethods();
  181       }
  182   
  183       public void setDisallowedMethods(List disallowedMethods) {
  184       }
  185   }

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