You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:50:49 UTC
[sling-org-apache-sling-jmx-provider] 05/09: Add metatype
information
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.jmx.provider-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jmx-provider.git
commit 2ca89af694439052413c3f2c9c5f27c828263569
Author: Carsten Ziegeler <cz...@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/contrib/extensions/jmxprovider@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" <co...@sling.apache.org>.