cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject svn commit: r358847 - /cocoon/trunk/src/java/org/apache/cocoon/core/container/ComponentEnvironment.java
Date Fri, 23 Dec 2005 18:38:25 GMT
Author: giacomo
Date: Fri Dec 23 10:38:21 2005
New Revision: 358847

URL: http://svn.apache.org/viewcvs?rev=358847&view=rev
Log:
adding more JMX stuff

Modified:
    cocoon/trunk/src/java/org/apache/cocoon/core/container/ComponentEnvironment.java

Modified: cocoon/trunk/src/java/org/apache/cocoon/core/container/ComponentEnvironment.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/src/java/org/apache/cocoon/core/container/ComponentEnvironment.java?rev=358847&r1=358846&r2=358847&view=diff
==============================================================================
--- cocoon/trunk/src/java/org/apache/cocoon/core/container/ComponentEnvironment.java (original)
+++ cocoon/trunk/src/java/org/apache/cocoon/core/container/ComponentEnvironment.java Fri Dec
23 10:38:21 2005
@@ -28,6 +28,7 @@
 import org.apache.cocoon.configuration.ConfigurationBuilder;
 import org.apache.cocoon.core.Core;
 import org.apache.cocoon.core.Settings;
+import org.apache.cocoon.util.JMXUtils;
 
 /**
  * The component enviromnent contains all objects necessary to create
@@ -89,6 +90,8 @@
             final Configuration conf = cb.build(is);
             ci = new ComponentInfo();
             ci.fill(conf);
+            ci.setJmxDomain(JMXUtils.findJmxDomain(ci.getJmxDomain(), serviceManager));
+            ci.setJmxName(JMXUtils.findJmxName(ci.getJmxName(), ci.getServiceClassName()));
         }
         return ci;
     }



Mime
View raw message