geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r387304 - /geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/Kernel.java
Date Mon, 20 Mar 2006 20:30:03 GMT
Author: djencks
Date: Mon Mar 20 12:30:02 2006
New Revision: 387304

URL: http://svn.apache.org/viewcvs?rev=387304&view=rev
Log:
Give the kernel a valid abstract name

Modified:
    geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/Kernel.java

Modified: geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/Kernel.java
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/Kernel.java?rev=387304&r1=387303&r2=387304&view=diff
==============================================================================
--- geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/Kernel.java (original)
+++ geronimo/branches/1.1/modules/kernel/src/java/org/apache/geronimo/kernel/Kernel.java Mon
Mar 20 12:30:02 2006
@@ -39,7 +39,7 @@
      * The JMX name used by a Kernel to register itself when it boots.
      */
     ObjectName KERNEL = JMXUtil.getObjectName(":role=Kernel");
-    AbstractName KERNEL_NAME = new AbstractName(new Artifact("geronimo", "boot", "none",
"car"), Collections.EMPTY_MAP, KERNEL);
+    AbstractName KERNEL_NAME = new AbstractName(new Artifact("geronimo", "boot", "none",
"car"), Collections.singletonMap("role", "kernel"), KERNEL);
 
     /**
      * Get the name of this kernel



Mime
View raw message