[jboss-cvs] JBossAS SVN: r67600 - trunk/system-jmx/src/main/org/jboss/system/microcontainer/jmx.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Nov 29 05:53:12 EST 2007
Author: adrian at jboss.org
Date: 2007-11-29 05:53:11 -0500 (Thu, 29 Nov 2007)
New Revision: 67600
Modified:
trunk/system-jmx/src/main/org/jboss/system/microcontainer/jmx/ServiceControllerLifecycleCallback.java
Log:
Changes in Java6: Generification of StandardMBean
Modified: trunk/system-jmx/src/main/org/jboss/system/microcontainer/jmx/ServiceControllerLifecycleCallback.java
===================================================================
--- trunk/system-jmx/src/main/org/jboss/system/microcontainer/jmx/ServiceControllerLifecycleCallback.java 2007-11-29 10:48:29 UTC (rev 67599)
+++ trunk/system-jmx/src/main/org/jboss/system/microcontainer/jmx/ServiceControllerLifecycleCallback.java 2007-11-29 10:53:11 UTC (rev 67600)
@@ -85,7 +85,7 @@
registerDirectly = jmx.registerDirectly();
}
Object mbean = (registerDirectly ? context.getTarget()
- : new StandardMBean(context.getTarget(), intfClass));
+ : new StandardMBean(context.getTarget(), (Class) intfClass));
MBeanServer server = serviceController.getMBeanServer();
server.registerMBean(mbean, objectName);
try
More information about the jboss-cvs-commits
mailing list