axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davidills...@apache.org
Subject svn commit: r509490 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
Date Tue, 20 Feb 2007 10:10:26 GMT
Author: davidillsley
Date: Tue Feb 20 02:10:26 2007
New Revision: 509490

URL: http://svn.apache.org/viewvc?view=rev&rev=509490
Log:
Refactor of WSDL11ToAxisServiceBuilder
 - Make internal-only methods private, not public access.

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java?view=diff&rev=509490&r1=509489&r2=509490
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
Tue Feb 20 02:10:26 2007
@@ -293,7 +293,7 @@
      * @param wsdl4jService must have atlease one port
      * @throws AxisFault
      */
-    public void populateEndpoints(Binding binding, Service wsdl4jService) throws AxisFault
{
+    private void populateEndpoints(Binding binding, Service wsdl4jService) throws AxisFault
{
 
         Map wsdl4jPorts = wsdl4jService.getPorts();
         QName bindingName = binding.getQName();
@@ -342,8 +342,7 @@
      * @param isSetMessageQNames
      * @throws AxisFault
      */
-
-    public void populateEndpoint(AxisEndpoint axisEndpoint, Port wsdl4jPort, boolean isSetMessageQNames)
+    private void populateEndpoint(AxisEndpoint axisEndpoint, Port wsdl4jPort, boolean isSetMessageQNames)
             throws AxisFault {
 
         copyExtensibleElements(wsdl4jPort.getExtensibilityElements(), wsdl4jDefinition,
@@ -360,7 +359,7 @@
 
     }
 
-    public void populatePortType(PortType wsdl4jPortType) throws AxisFault {
+    private void populatePortType(PortType wsdl4jPortType) throws AxisFault {
         List wsdl4jOperations = wsdl4jPortType.getOperations();
 
         if (wsdl4jOperations.size() < 1) {
@@ -389,7 +388,7 @@
 
     }
 
-    public void populateBinding(AxisBinding axisBinding, Binding wsdl4jBinding, boolean isSetMessageQNames)
+    private void populateBinding(AxisBinding axisBinding, Binding wsdl4jBinding, boolean
isSetMessageQNames)
             throws AxisFault {
 
         copyExtensibleElements(wsdl4jBinding.getExtensibilityElements(), wsdl4jDefinition,
@@ -500,27 +499,6 @@
         }
     }
 
-    public SOAPBinding getSOAPBinding(Binding wsdlj4Binding) {
-        Object extElement;
-
-        for (Iterator iterator = wsdlj4Binding.getExtensibilityElements().iterator();
-             iterator.hasNext();) {
-            extElement = iterator.next();
-
-            if (extElement instanceof SOAPBinding) {
-                return (SOAPBinding) extElement;
-            }
-        }
-        return null;
-    }
-
-
-    public void populateBindingOperation(
-            AxisBindingOperation axisBindingOperation,
-            BindingOperation wsdl4BindingOperation) throws AxisFault {
-
-    }
-
     /**
      * contains all code which gathers non-service specific information from the
      * wsdl. <p/> After all the setup completes successfully, the setupComplete
@@ -2237,7 +2215,7 @@
             // TODO Faults ..
         }
     }
-
+    
     /**
      * Look for the wrappable operations depending on the style
      *



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message