sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-jmx-provider] 20/39: Add metatype information
Date Wed, 18 Oct 2017 23:24:43 GMT
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jmx-provider.git

commit e423d224f2e053dc859c0921a559da5437407c07
Author: Carsten Ziegeler <cziegeler@apache.org>
AuthorDate: Mon Jan 13 14:56:52 2014 +0000

    Add metatype information
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1557741 13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/sling/jmx/provider/impl/JMXResourceProvider.java   | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/jmx/provider/impl/JMXResourceProvider.java b/src/main/java/org/apache/sling/jmx/provider/impl/JMXResourceProvider.java
index 5d32811..0ba933d 100644
--- a/src/main/java/org/apache/sling/jmx/provider/impl/JMXResourceProvider.java
+++ b/src/main/java/org/apache/sling/jmx/provider/impl/JMXResourceProvider.java
@@ -57,10 +57,14 @@ import org.apache.sling.api.resource.ResourceResolver;
 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:

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Mime
View raw message