diff options
| author | abranson <andrew.branson@cern.ch> | 2011-08-03 10:28:35 +0200 |
|---|---|---|
| committer | abranson <andrew.branson@cern.ch> | 2011-08-03 10:28:35 +0200 |
| commit | 036cbdba66f804743c4c838ed598d6972c4b3e17 (patch) | |
| tree | 12df1baf95b1078b3bfe90dc73ad1ca20ce271cd /source/com/c2kernel/process | |
| parent | 5664fd4644c78f4571a1a72e6b9f0511fb10720a (diff) | |
Add kernel jar version as property in server item
Diffstat (limited to 'source/com/c2kernel/process')
| -rw-r--r-- | source/com/c2kernel/process/Bootstrap.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/com/c2kernel/process/Bootstrap.java b/source/com/c2kernel/process/Bootstrap.java index ce6791c..777568c 100644 --- a/source/com/c2kernel/process/Bootstrap.java +++ b/source/com/c2kernel/process/Bootstrap.java @@ -304,6 +304,7 @@ public class Bootstrap }
Gateway.getStorage().put(serverEntity.getSysKey(), new Property("Name", serverName), null);
Gateway.getStorage().put(serverEntity.getSysKey(), new Property("Type", "Server"), null);
+ Gateway.getStorage().put(serverEntity.getSysKey(), new Property("KernelVersion", Resource.getKernelVersion()), null);
if (Gateway.getProperty("ItemServer.Proxy.port") != null)
Gateway.getStorage().put(serverEntity.getSysKey(),
new Property("ProxyPort", Gateway.getProperty("ItemServer.Proxy.port")), null);
|
