001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one
003: * or more contributor license agreements. See the NOTICE file
004: * distributed with this work for additional information
005: * regarding copyright ownership. The ASF licenses this file
006: * to you under the Apache License, Version 2.0 (the
007: * "License"); you may not use this file except in compliance
008: * with the License. You may obtain a copy of the License at
009: *
010: * http://www.apache.org/licenses/LICENSE-2.0
011: *
012: * Unless required by applicable law or agreed to in writing,
013: * software distributed under the License is distributed on an
014: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015: * KIND, either express or implied. See the License for the
016: * specific language governing permissions and limitations
017: * under the License.
018: */
019:
020: package org.apache.axis2.jaxws.description;
021:
022: import javax.jws.Oneway;
023: import javax.jws.WebMethod;
024: import javax.jws.WebParam.Mode;
025: import javax.jws.WebResult;
026: import javax.jws.soap.SOAPBinding;
027: import javax.xml.ws.RequestWrapper;
028: import javax.xml.ws.ResponseWrapper;
029:
030: public interface OperationDescriptionJava {
031:
032: public WebResult getAnnoWebResult();
033:
034: public boolean isWebResultAnnotationSpecified();
035:
036: public boolean getAnnoWebResultHeader();
037:
038: public String getAnnoWebResultName();
039:
040: public String getAnnoWebResultPartName();
041:
042: public String getAnnoWebResultTargetNamespace();
043:
044: public RequestWrapper getAnnoRequestWrapper();
045:
046: /**
047: * @return the specified value of @RequestWrapper className or null NOTE: There is no default
048: * for the classname
049: */
050: public String getAnnoRequestWrapperClassName();
051:
052: public String getAnnoRequestWrapperLocalName();
053:
054: public String getAnnoRequestWrapperTargetNamespace();
055:
056: public ResponseWrapper getAnnoResponseWrapper();
057:
058: /**
059: * @return the specified value of @ResponseWrapper className or null NOTE: There is no default
060: * for the classname
061: */
062: public String getAnnoResponseWrapperClassName();
063:
064: public String getAnnoResponseWrapperLocalName();
065:
066: public String getAnnoResponseWrapperTargetNamespace();
067:
068: public SOAPBinding getAnnoSoapBinding();
069:
070: public javax.jws.soap.SOAPBinding.ParameterStyle getAnnoSoapBindingParameterStyle();
071:
072: public javax.jws.soap.SOAPBinding.Style getAnnoSoapBindingStyle();
073:
074: public javax.jws.soap.SOAPBinding.Use getAnnoSoapBindingUse();
075:
076: public WebMethod getAnnoWebMethod();
077:
078: public String getAnnoWebMethodAction();
079:
080: public boolean getAnnoWebMethodExclude();
081:
082: public String getAnnoWebMethodOperationName();
083:
084: // Note that the WebParam annotation is handled by ParameterDescription. These
085: // WebParam-related methods are simply convenience methods.
086: public Mode[] getAnnoWebParamModes();
087:
088: public String[] getAnnoWebParamNames();
089:
090: public String getAnnoWebParamTargetNamespace(String name);
091:
092: public String[] getAnnoWebParamTargetNamespaces();
093:
094: public boolean isAnnoWebParamHeader(String name);
095:
096: public Oneway getAnnoOneway();
097:
098: public boolean isAnnoOneWay();
099:
100: }
|