geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r400109 - /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.jmxagent/src/org/apache/geronimo/st/jmxagent/JMXAgent.java
Date Fri, 05 May 2006 16:48:16 GMT
Author: sppatel
Date: Fri May  5 09:48:15 2006
New Revision: 400109

URL: http://svn.apache.org/viewcvs?rev=400109&view=rev
Log:
use registerMbean to pass object instance to fix running under jdk 1.5

Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.jmxagent/src/org/apache/geronimo/st/jmxagent/JMXAgent.java

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.jmxagent/src/org/apache/geronimo/st/jmxagent/JMXAgent.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.jmxagent/src/org/apache/geronimo/st/jmxagent/JMXAgent.java?rev=400109&r1=400108&r2=400109&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.jmxagent/src/org/apache/geronimo/st/jmxagent/JMXAgent.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.jmxagent/src/org/apache/geronimo/st/jmxagent/JMXAgent.java
Fri May  5 09:48:15 2006
@@ -74,7 +74,7 @@
 
 	public void loadBean(String className, String objectName) {
 		try {
-			getServer().createMBean(className, new ObjectName(objectName));
+			getServer().registerMBean(new ConfigurationStoreResolver(), new ObjectName(objectName));
 		} catch (Exception e) {
 			e.printStackTrace();
 		}



Mime
View raw message