From 1e272c0e0205759e920795c2e6b33d34289dac3b Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 23 Oct 2006 22:42:10 +0000
Subject: [PATCH] Update the system information monitor provider to include the value of the java.home system property in the entry that it generates.

---
 opends/src/server/org/opends/server/monitors/SystemInfoMonitorProvider.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/monitors/SystemInfoMonitorProvider.java b/opends/src/server/org/opends/server/monitors/SystemInfoMonitorProvider.java
index 83ad765..8de182a 100644
--- a/opends/src/server/org/opends/server/monitors/SystemInfoMonitorProvider.java
+++ b/opends/src/server/org/opends/server/monitors/SystemInfoMonitorProvider.java
@@ -172,6 +172,8 @@
                               System.getProperty("java.vm.version")));
     attrs.add(createAttribute("jvmVendor",
                               System.getProperty("java.vm.vendor")));
+    attrs.add(createAttribute("javaHome",
+                              System.getProperty("java.home")));
     attrs.add(createAttribute("classPath",
                               System.getProperty("java.class.path")));
     attrs.add(createAttribute("workingDirectory",

--
Gitblit v1.10.0