geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From de...@apache.org
Subject svn commit: r996786 - /geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/webmanager/ConnectorPortlet.java
Date Tue, 14 Sep 2010 08:22:57 GMT
Author: delos
Date: Tue Sep 14 08:22:56 2010
New Revision: 996786

URL: http://svn.apache.org/viewvc?rev=996786&view=rev
Log:
GERONIMO-5544 query Connector gbean by abstract name to sucessfully save updating of connector
attributes

Modified:
    geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/webmanager/ConnectorPortlet.java

Modified: geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/webmanager/ConnectorPortlet.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/webmanager/ConnectorPortlet.java?rev=996786&r1=996785&r2=996786&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/webmanager/ConnectorPortlet.java
(original)
+++ geronimo/server/trunk/plugins/console/console-base-portlets/src/main/java/org/apache/geronimo/console/webmanager/ConnectorPortlet.java
Tue Sep 14 08:22:56 2010
@@ -216,7 +216,7 @@ public class ConnectorPortlet extends Ba
                 
                 try {
                     Kernel kernel = PortletManager.getKernel();
-                    BundleContext bundleContext = kernel.getBundleFor(connector.getClass()).getBundleContext();
+                    BundleContext bundleContext = kernel.getBundleFor(connectorName).getBundleContext();
                     kernel.stopGBean(connectorName);
                     kernel.unloadGBean(connectorName);
                     kernel.loadGBean(connectorGBeanData, bundleContext);



Mime
View raw message