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 de...@apache.org on 2007/07/23 18:42:32 UTC
svn commit: r558793 -
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java
Author: deepal
Date: Mon Jul 23 09:42:31 2007
New Revision: 558793
URL: http://svn.apache.org/viewvc?view=rev&rev=558793
Log:
fixing AXIS2-2991
Modified:
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java?view=diff&rev=558793&r1=558792&r2=558793
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java Mon Jul 23 09:42:31 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