diff --git a/bindings/java/src/org/hyperic/sigar/Sigar.java b/bindings/java/src/org/hyperic/sigar/Sigar.java index c927bb15..a83914d2 100644 --- a/bindings/java/src/org/hyperic/sigar/Sigar.java +++ b/bindings/java/src/org/hyperic/sigar/Sigar.java @@ -959,6 +959,10 @@ public class Sigar implements SigarProxy { */ public native String getFQDN() throws SigarException; + public SigarVersion getSigarVersion() { + return new SigarVersion(); + } + /** * Enabling logging in the native Sigar code. * This method will hook log4j into the Sigar diff --git a/bindings/java/src/org/hyperic/sigar/SigarProxy.java b/bindings/java/src/org/hyperic/sigar/SigarProxy.java index 5f4ea007..ae23a915 100644 --- a/bindings/java/src/org/hyperic/sigar/SigarProxy.java +++ b/bindings/java/src/org/hyperic/sigar/SigarProxy.java @@ -172,5 +172,7 @@ public interface SigarProxy { public NetInfo getNetInfo() throws SigarException; + public SigarVersion getSigarVersion(); + public String getFQDN() throws SigarException; }