/** * Retrieves a formatted JVM information text. * The default StringManager will be used. * * @return the formatted JVM information text */ public static String getVMInfo() { return getVMInfo(sm); }
/** * Retrieves a formatted JVM information text. * The default StringManager will be used. * * @return the formatted JVM information text */ public static String getVMInfo() { return getVMInfo(sm); }
/** * * Write some VM info * * @param writer */ protected void vmInfo(PrintWriter writer, Enumeration<Locale> requestedLocales) { writer.print(Diagnostics.getVMInfo(requestedLocales)); }
/** * Retrieves a formatted JVM information text. * The given list of locales will be used * to retrieve a StringManager. * * @param requestedLocales list of locales to use * @return the formatted JVM information text */ public static String getVMInfo(Enumeration<Locale> requestedLocales) { return getVMInfo(StringManager.getManager(PACKAGE, requestedLocales)); }
/** * Write some VM info. * * @param writer The output writer * @param smClient StringManager for the client's locale * @param requestedLocales the client's locales */ protected void vmInfo(PrintWriter writer, StringManager smClient, Enumeration<Locale> requestedLocales) { writer.println(smClient.getString("managerServlet.vminfo")); writer.print(Diagnostics.getVMInfo(requestedLocales)); }
/** * Write some VM info. * * @param writer The output writer * @param smClient StringManager for the client's locale * @param requestedLocales the client's locales */ protected void vmInfo(PrintWriter writer, StringManager smClient, Enumeration<Locale> requestedLocales) { writer.println(smClient.getString("managerServlet.vminfo")); writer.print(Diagnostics.getVMInfo(requestedLocales)); }
/** * Retrieves a formatted JVM information text. * The given list of locales will be used * to retrieve a StringManager. * * @param requestedLocales list of locales to use * @return the formatted JVM information text */ public static String getVMInfo(Enumeration<Locale> requestedLocales) { return getVMInfo(StringManager.getManager(PACKAGE, requestedLocales)); }