You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ch...@apache.org on 2005/12/10 19:30:01 UTC

svn commit: r355761 - in /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2: addressing/ addressing/miheaders/ client/ description/

Author: chinthaka
Date: Sat Dec 10 10:29:56 2005
New Revision: 355761

URL: http://svn.apache.org/viewcvs?rev=355761&view=rev
Log:
Cleaning up the code a bit.

Removed:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/miheaders/
Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AnyContentType.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/EndpointReference.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/MessageInformationHeaders.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/RelatesTo.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/ServiceName.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/Call.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisOperation.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AnyContentType.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AnyContentType.java?rev=355761&r1=355760&r2=355761&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AnyContentType.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AnyContentType.java Sat Dec 10 10:29:56 2005
@@ -25,10 +25,6 @@
  * Class AnyContentType
  */
 public class AnyContentType implements Serializable {
-    /**
-     * Field anyContentTypeName
-     */
-    private String anyContentTypeName;
 
     /**
      * Field valueHolder
@@ -56,7 +52,6 @@
      * Method getReferenceValue
      *
      * @param name
-     * @return
      */
     public String getReferenceValue(QName name) {
         return (String) valueHolder.get(name);

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/EndpointReference.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/EndpointReference.java?rev=355761&r1=355760&r2=355761&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/EndpointReference.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/EndpointReference.java Sat Dec 10 10:29:56 2005
@@ -94,7 +94,8 @@
      * This will return a Map of reference parameters with QName as the key and an OMElement
      * as the value
      *
-     * @return
+     * @return - map of the reference parameters, where the key is the QName of the reference parameter
+     *         and the value is an OMElement
      */
     public Map getAllReferenceParameters() {
         return referenceParameters;
@@ -114,7 +115,8 @@
      * This will return a Map of reference properties with QName as the key and an OMElement
      * as the value
      *
-     * @return
+     * @return - map of the reference parameters, where the key is the QName of the reference parameter
+     *         and the value is an OMElement
      */
     public Map getAllReferenceProperties() {
         return referenceProperties;
@@ -148,10 +150,9 @@
 
 
     /**
-     *
      * @param qname
      * @param value - the text of the OMElement. Remember that this is a convenient method for the user,
-     * which has limited capability. If you want more power use @See EndpointReference#addReferenceParameter(OMElement)
+     *              which has limited capability. If you want more power use @See EndpointReference#addReferenceParameter(OMElement)
      */
     public void addReferenceParameter(QName qname, String value) {
         if (qname == null) {
@@ -163,7 +164,6 @@
     }
 
     /**
-     *
      * @param omElement
      */
     public void addReferenceParameter(OMElement omElement) {
@@ -178,6 +178,7 @@
 
     /**
      * Remember that reference properties are only supported in WS-A Submission version.
+     *
      * @param qname
      * @param value
      */
@@ -192,6 +193,7 @@
 
     /**
      * Remember that reference properties are only supported in WS-A Submission version.
+     *
      * @param omElement
      */
     public void addReferenceProperty(OMElement omElement) {

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/MessageInformationHeaders.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/MessageInformationHeaders.java?rev=355761&r1=355760&r2=355761&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/MessageInformationHeaders.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/MessageInformationHeaders.java Sat Dec 10 10:29:56 2005
@@ -92,8 +92,6 @@
 
     /**
      * Method getTo
-     *
-     * @return
      */
     public EndpointReference getTo() {
 
@@ -111,8 +109,6 @@
 
     /**
      * Method getFrom
-     *
-     * @return
      */
     public EndpointReference getFrom() {
         return from;
@@ -129,8 +125,6 @@
 
     /**
      * Method getReplyTo
-     *
-     * @return
      */
     public EndpointReference getReplyTo() {
 
@@ -148,8 +142,6 @@
 
     /**
      * Method getFaultTo
-     *
-     * @return
      */
     public EndpointReference getFaultTo() {
 
@@ -167,8 +159,6 @@
 
     /**
      * Method getAction
-     *
-     * @return
      */
     public String getAction() {
         return action;
@@ -185,8 +175,6 @@
 
     /**
      * Method getMessageId
-     *
-     * @return
      */
     public String getMessageId() {
         return messageId;
@@ -203,10 +191,8 @@
 
     /**
      * Method getRelatesTo
-     *
-     * @return
      */
-    public org.apache.axis2.addressing.RelatesTo getRelatesTo() {
+    public RelatesTo getRelatesTo() {
 
         return relatesTo;
     }
@@ -216,7 +202,7 @@
      *
      * @param relatesTo
      */
-    public void setRelatesTo(org.apache.axis2.addressing.RelatesTo relatesTo) {
+    public void setRelatesTo(RelatesTo relatesTo) {
 
         this.relatesTo = relatesTo;
     }

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/RelatesTo.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/RelatesTo.java?rev=355761&r1=355760&r2=355761&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/RelatesTo.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/RelatesTo.java Sat Dec 10 10:29:56 2005
@@ -54,8 +54,6 @@
 
     /**
      * Method getValue
-     *
-     * @return
      */
     public String getValue() {
         return value;
@@ -72,8 +70,6 @@
 
     /**
      * Method getRelationshipType
-     *
-     * @return
      */
     public String getRelationshipType() {
         return relationshipType;

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/ServiceName.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/ServiceName.java?rev=355761&r1=355760&r2=355761&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/ServiceName.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/ServiceName.java Sat Dec 10 10:29:56 2005
@@ -49,8 +49,6 @@
 
     /**
      * Method getName
-     *
-     * @return
      */
     public QName getName() {
         return name;
@@ -67,8 +65,6 @@
 
     /**
      * Method getPortName
-     *
-     * @return
      */
     public String getPortName() {
         return portName;

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/Call.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/Call.java?rev=355761&r1=355760&r2=355761&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/Call.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/Call.java Sat Dec 10 10:29:56 2005
@@ -124,7 +124,7 @@
      * @param axisop
      * @param toSend   -  data to be sent (OMElement).
      * @param callback
-     * @throws org.apache.axis2.AxisFault
+     * @throws AxisFault
      */
 
     public void invokeNonBlocking(
@@ -146,7 +146,7 @@
      * @param axisop
      * @param envelope -  data to be sent (SOAPEnvelope).
      * @param callback
-     * @throws org.apache.axis2.AxisFault
+     * @throws AxisFault
      */
 
     public void invokeNonBlocking(

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisOperation.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisOperation.java?rev=355761&r1=355760&r2=355761&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisOperation.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisOperation.java Sat Dec 10 10:29:56 2005
@@ -13,12 +13,24 @@
 import org.apache.axis2.phaseresolver.PhaseResolver;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-import org.apache.wsdl.*;
+import org.apache.wsdl.MessageReference;
+import org.apache.wsdl.WSDLConstants;
+import org.apache.wsdl.WSDLExtensibilityAttribute;
+import org.apache.wsdl.WSDLExtensibilityElement;
+import org.apache.wsdl.WSDLFaultReference;
+import org.apache.wsdl.WSDLFeature;
+import org.apache.wsdl.WSDLOperation;
+import org.apache.wsdl.WSDLProperty;
 import org.apache.wsdl.impl.WSDLOperationImpl;
 import org.w3c.dom.Document;
 
 import javax.xml.namespace.QName;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
 /*
 * Copyright 2004,2005 The Apache Software Foundation.
 *
@@ -87,7 +99,7 @@
      * To ebgage a module it is reuired to use this method
      *
      * @param moduleref
-     * @throws org.apache.axis2.AxisFault
+     * @throws AxisFault
      */
     public final void engageModule(ModuleDescription moduleref,
                                    AxisConfiguration axisConfig) throws AxisFault {