This is an automated email from the ASF dual-hosted git repository.
alien11689 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/aries-antora-site.git
The following commit(s) were added to refs/heads/master by this push:
new 4e7403f JMX - update documentation following ARIES-2160
4e7403f is described below
commit 4e7403f46415c33672a7ae3f205edb0ba7654e22
Author: Robert Munteanu <[email protected]>
AuthorDate: Wed Jan 22 09:52:49 2025 +0100
JMX - update documentation following ARIES-2160
Minimal changes needed to mention the new mbeanserver-platform bundle.
---
modules/ROOT/pages/modules/jmx.adoc | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/modules/ROOT/pages/modules/jmx.adoc
b/modules/ROOT/pages/modules/jmx.adoc
index ca721e7..0d9962e 100644
--- a/modules/ROOT/pages/modules/jmx.adoc
+++ b/modules/ROOT/pages/modules/jmx.adoc
@@ -13,10 +13,9 @@ from Maven Central:
http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22org.apache
* The Aries Util bundle, e.g.
from Maven Central:
http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22org.apache.aries.util%22[org.apache.aries.util]
-As prescribed by the OSGi JMX specification, to hook it in with an MBean
Server the relevant MBean Server needs to be registered in the OSGi Service
Registry.
+As prescribed by the OSGi JMX specification, to hook it in with an MBean
Server the relevant MBean Server needs to be registered in the OSGi Service
Registry. A simple bundle that registers the Platform MBean Server is available
on Maven Central:
https://mvnrepository.com/artifact/org.apache.aries.jmx/org.apache.aries.jmx.mbeanserver-platform[org.apache.aries.jmx.mbeanserver-platform].
-The easiest way to get things to do this is to use the platform mbean server,
and register that.
-For example create a simple bundle that contains the following Bundle
Activator:
+You can also create a simple bundle that contains the following Bundle
Activator:
....
import java.lang.management.ManagementFactory;