cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject svn commit: r358983 - /cocoon/trunk/src/java/org/apache/cocoon/components/ComponentInfo.java
Date Sun, 25 Dec 2005 16:19:17 GMT
Author: giacomo
Date: Sun Dec 25 08:19:13 2005
New Revision: 358983

URL: http://svn.apache.org/viewcvs?rev=358983&view=rev
Log:
fix to get the correctJMX Domain

Modified:
    cocoon/trunk/src/java/org/apache/cocoon/components/ComponentInfo.java

Modified: cocoon/trunk/src/java/org/apache/cocoon/components/ComponentInfo.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/components/ComponentInfo.java?rev=358983&r1=358982&r2=358983&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/components/ComponentInfo.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/components/ComponentInfo.java Sun Dec 25 08:19:13
2005
@@ -219,6 +219,9 @@
         if (this.jmxDomain == null && this.configuration != null) {
             this.setJmxDomain(getConfiguration().getAttribute(CoreServiceManager.JMX_DOMAIN_ATTR_NAME,
null));
         }
+        if(this.jmxDomain == null) {
+            return CoreServiceManager.JMX_DEFAULT_DOMAIN_NAME;
+        }
         return this.jmxDomain;
     }
     



Mime
View raw message