geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r761814 - /geronimo/sandbox/djencks/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationUtil.java
Date Fri, 03 Apr 2009 21:52:47 GMT
Author: djencks
Date: Fri Apr  3 21:52:46 2009
New Revision: 761814

URL: http://svn.apache.org/viewvc?rev=761814&view=rev
Log:
mkae sure we get a proxied ConfigurationManager when remote

Modified:
    geronimo/sandbox/djencks/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationUtil.java

Modified: geronimo/sandbox/djencks/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationUtil.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/djencks/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationUtil.java?rev=761814&r1=761813&r2=761814&view=diff
==============================================================================
--- geronimo/sandbox/djencks/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationUtil.java
(original)
+++ geronimo/sandbox/djencks/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationUtil.java
Fri Apr  3 21:52:46 2009
@@ -335,8 +335,7 @@
      * @throws IllegalStateException Occurs if a ConfigurationManager cannot be identified
      */
     public static ConfigurationManager getConfigurationManager(Kernel kernel) throws GBeanNotFoundException
{
-        AbstractName configurationManagerName = getConfigurationManagerName(kernel);
-        return (ConfigurationManager) kernel.getGBean(configurationManagerName);
+        return kernel.getGBean(ConfigurationManager.class);
     }
 
     /**



Mime
View raw message