incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1557741 - /sling/trunk/contrib/extensions/jmxprovider/src/main/java/org/apache/sling/jmx/provider/impl/JMXResourceProvider.java
Date Mon, 13 Jan 2014 14:56:52 GMT
Author: cziegeler
Date: Mon Jan 13 14:56:52 2014
New Revision: 1557741

URL: http://svn.apache.org/r1557741
Log:
Add metatype information

Modified:
    sling/trunk/contrib/extensions/jmxprovider/src/main/java/org/apache/sling/jmx/provider/impl/JMXResourceProvider.java

Modified: sling/trunk/contrib/extensions/jmxprovider/src/main/java/org/apache/sling/jmx/provider/impl/JMXResourceProvider.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/jmxprovider/src/main/java/org/apache/sling/jmx/provider/impl/JMXResourceProvider.java?rev=1557741&r1=1557740&r2=1557741&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/jmxprovider/src/main/java/org/apache/sling/jmx/provider/impl/JMXResourceProvider.java
(original)
+++ sling/trunk/contrib/extensions/jmxprovider/src/main/java/org/apache/sling/jmx/provider/impl/JMXResourceProvider.java
Mon Jan 13 14:56:52 2014
@@ -57,10 +57,14 @@ import org.apache.sling.api.resource.Res
 import org.apache.sling.api.resource.ResourceUtil;
 import org.apache.sling.commons.osgi.PropertiesUtil;
 
-@Component
+@Component(metatype=true,
+    label="Apache Sling JMX Resource Provider",
+    description="This provider mounts JMX mbeans into the resource tree.")
 @Service(value = ResourceProvider.class)
 @Properties({
-    @Property(name = ResourceProvider.ROOTS, value="/system/sling/monitoring/mbeans")
+    @Property(name = ResourceProvider.ROOTS, value="/system/sling/monitoring/mbeans",
+            label="Root",
+            description="The mount point of the JMX beans")
 })
 /**
  * Brief summary of a "good" object name:



Mime
View raw message