axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r355766 - in /webservices/axis2/trunk/java/modules/core/src/org/apache/axis2: client/MEPClient.java context/ServiceContext.java context/ServiceGroupContext.java
Date Sat, 10 Dec 2005 19:14:57 GMT
Author: deepal
Date: Sat Dec 10 11:14:54 2005
New Revision: 355766

URL: http://svn.apache.org/viewcvs?rev=355766&view=rev
Log:
fixed few typos 

Modified:
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/MEPClient.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceContext.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceGroupContext.java

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/MEPClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/MEPClient.java?rev=355766&r1=355765&r2=355766&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/MEPClient.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/client/MEPClient.java Sat
Dec 10 11:14:54 2005
@@ -29,11 +29,7 @@
 import org.apache.axis2.i18n.Messages;
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
-import org.apache.axis2.soap.SOAP11Constants;
-import org.apache.axis2.soap.SOAP12Constants;
-import org.apache.axis2.soap.SOAPEnvelope;
-import org.apache.axis2.soap.SOAPFactory;
-import org.apache.axis2.soap.SOAPHeader;
+import org.apache.axis2.soap.*;
 import org.apache.axis2.util.UUIDGenerator;
 
 import javax.xml.namespace.QName;
@@ -110,7 +106,7 @@
      */
     protected abstract void configureTransportInformation(MessageContext msgCtxt) throws
AxisFault;
 
-    private void extractPropertiesFromOptionsToContexts(MessageContext msgCtx) throws AxisFault
{
+    private void extractPropertiesFromOptionsToContexts(MessageContext msgCtx) {
 
         // copy addressing parameters
         msgCtx.setTo(clientOptions.getTo());

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceContext.java?rev=355766&r1=355765&r2=355766&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceContext.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceContext.java
Sat Dec 10 11:14:54 2005
@@ -22,16 +22,13 @@
 import org.apache.axis2.engine.AxisConfiguration;
 
 import javax.xml.namespace.QName;
-import java.io.IOException;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
 
 /**
  * Well this is never clearly defined, what it does or the lifecycle.
  * So do NOT use this as it might not live up to your expectation.
  */
 public class ServiceContext extends AbstractContext {
-	
+
     private transient AxisService axisService;
 
     private String serviceInstanceID;
@@ -41,21 +38,22 @@
 
     /**
      * Initializes the engine context.
+     *
      * @throws AxisFault
      */
     public void init(AxisConfiguration axisConfiguration) throws AxisFault {
-    	axisService = axisConfiguration.getService(axisServiceName.getLocalPart());
+        axisService = axisConfiguration.getService(axisServiceName.getLocalPart());
     }
-    
+
     public ServiceContext(
-        AxisService serviceConfig,
-        ServiceGroupContext serviceGroupContext) {
+            AxisService serviceConfig,
+            ServiceGroupContext serviceGroupContext) {
         super(serviceGroupContext);
         this.axisService = serviceConfig;
-        
-        if (serviceConfig!=null){
-        	this.axisServiceName = serviceConfig.getName();
-            serviceInstanceID = serviceConfig.getName().getLocalPart(); 
+
+        if (serviceConfig != null) {
+            this.axisServiceName = serviceConfig.getName();
+            serviceInstanceID = serviceConfig.getName().getLocalPart();
         }
 
     }
@@ -69,6 +67,7 @@
 
     /**
      * Sets service instance id.
+     *
      * @param serviceInstanceID
      */
     public void setServiceInstanceID(String serviceInstanceID) {

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceGroupContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceGroupContext.java?rev=355766&r1=355765&r2=355766&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceGroupContext.java
(original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/context/ServiceGroupContext.java
Sat Dec 10 11:14:54 2005
@@ -21,9 +21,6 @@
 import org.apache.axis2.description.AxisServiceGroup;
 import org.apache.axis2.engine.AxisConfiguration;
 
-import java.io.IOException;
-import java.io.ObjectInputStream;
-import java.io.ObjectOutputStream;
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.Map;
@@ -33,21 +30,20 @@
     private String id;
     private Map serviceContextMap;
     private transient AxisServiceGroup axisServiceGroup;
-    private String axisServiceGroupName =null;
-
+    private String axisServiceGroupName = null;
 
 
     public void init(AxisConfiguration axisConfiguration) throws AxisFault {
-        if (axisServiceGroupName !=null)
+        if (axisServiceGroupName != null)
             axisServiceGroup = axisConfiguration.getServiceGroup(axisServiceGroupName);
     }
 
-    public ServiceGroupContext(ConfigurationContext parent ,AxisServiceGroup axisServiceGroup)
{
+    public ServiceGroupContext(ConfigurationContext parent, AxisServiceGroup axisServiceGroup)
{
         super(parent);
         this.axisServiceGroup = axisServiceGroup;
         serviceContextMap = new HashMap();
 
-        if (axisServiceGroup !=null)
+        if (axisServiceGroup != null)
             this.axisServiceGroupName = axisServiceGroup.getServiceGroupName();
         fillServiceContexts();
     }
@@ -70,13 +66,13 @@
      * if serviceGroup desc has 2 service init , then two serviceContext will be
      * created
      */
-    private void fillServiceContexts(){
+    private void fillServiceContexts() {
         Iterator services = axisServiceGroup.getServices();
         while (services.hasNext()) {
             AxisService axisService = (AxisService) services.next();
-            ServiceContext serviceContext = new ServiceContext(axisService,this);
+            ServiceContext serviceContext = new ServiceContext(axisService, this);
             String servicNams = axisService.getName().getLocalPart();
-            serviceContextMap.put(servicNams,serviceContext);
+            serviceContextMap.put(servicNams, serviceContext);
         }
     }
 
@@ -84,7 +80,7 @@
         return axisServiceGroup;
     }
 
-    public Iterator getServiceContexts(){
+    public Iterator getServiceContexts() {
         return serviceContextMap.values().iterator();
     }
 }



Mime
View raw message