opends/src/guitools/org/opends/guitools/statuspanel/ServerStatusDescriptor.java
@@ -49,6 +49,18 @@ private Message errorMsg; private boolean isAuthenticated; private static String hostName = "locahost"; static { try { hostName = java.net.InetAddress.getLocalHost().getHostName(); } catch (Throwable t) { } }; /** * Enumeration indicating the status of the server. * @@ -359,4 +371,13 @@ { this.listeners = listeners; } /** * Returns the host name of the server. * @return the host name of the server. */ public String getHostname() { return hostName; } }