geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r785228 - /geronimo/server/branches/2.1/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/configmanager/ConfigManagerPortlet.java
Date Tue, 16 Jun 2009 14:26:10 GMT
Author: gawor
Date: Tue Jun 16 14:26:09 2009
New Revision: 785228

URL: http://svn.apache.org/viewvc?rev=785228&view=rev
Log:
show stopped modules names. Based on patch from Han Hong Fang (GERONIMO-4687)

Modified:
    geronimo/server/branches/2.1/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/configmanager/ConfigManagerPortlet.java

Modified: geronimo/server/branches/2.1/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/configmanager/ConfigManagerPortlet.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/configmanager/ConfigManagerPortlet.java?rev=785228&r1=785227&r2=785228&view=diff
==============================================================================
--- geronimo/server/branches/2.1/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/configmanager/ConfigManagerPortlet.java
(original)
+++ geronimo/server/branches/2.1/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/configmanager/ConfigManagerPortlet.java
Tue Jun 16 14:26:09 2009
@@ -156,12 +156,9 @@
                     addInfoMessage(actionRequest, getLocalizedString(actionRequest, "infoMsg01")
+ printResults(lcresult.getStarted()));
                 }
             } else if (STOP_ACTION.equals(action)) {
-                if(configurationManager.isRunning(configId)) {
-                    configurationManager.stopConfiguration(configId);
-                }
                 if(configurationManager.isLoaded(configId)) {
                     LifecycleResults lcresult = configurationManager.unloadConfiguration(configId);
-                    addInfoMessage(actionRequest, getLocalizedString(actionRequest, "infoMsg02")
+ printResults(lcresult.getStarted()));
+                    addInfoMessage(actionRequest, getLocalizedString(actionRequest, "infoMsg02")
+ printResults(lcresult.getStopped()));
                 }
             } else if (UNINSTALL_ACTION.equals(action)) {
                 configurationManager.uninstallConfiguration(configId);



Mime
View raw message