axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r558794 - /webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java
Date Mon, 23 Jul 2007 16:42:40 GMT
Author: deepal
Date: Mon Jul 23 09:42:39 2007
New Revision: 558794

URL: http://svn.apache.org/viewvc?view=rev&rev=558794
Log:
fixing AXIS2-2991

Modified:
    webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java

Modified: webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java?view=diff&rev=558794&r1=558793&r2=558794
==============================================================================
--- webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java
(original)
+++ webservices/axis2/branches/java/1_3/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java
Mon Jul 23 09:42:39 2007
@@ -450,9 +450,7 @@
             String turnon = req.getParameter("turnon");
             if (serviceName != null) {
                 if (turnon != null) {
-                    AxisService service = configContext.getAxisConfiguration()
-                            .getServiceForActivation(serviceName);
-                    service.setActive(true);
+                    configContext.getAxisConfiguration().startService(serviceName);
                 }
             }
         }
@@ -467,9 +465,7 @@
             String turnoff = req.getParameter("turnoff");
             if (serviceName != null) {
                 if (turnoff != null) {
-                    AxisService service =
-                            configContext.getAxisConfiguration().getService(serviceName);
-                    service.setActive(false);
+                    configContext.getAxisConfiguration().stopService(serviceName);
                 }
                 populateSessionInformation(req);
             }



---------------------------------------------------------------------
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