deploymentInfo.setServerName(serverEnvironmentInjectedValue.getValue().getProductConfig().getPrettyVersionString()); if (undertowService.getValue().isStatisticsEnabled()) { deploymentInfo.setMetricsCollector(new UndertowMetricsCollector());
public String getPrettyProductName() { final String result; if(productName != null) { result = ProductConfig.getPrettyVersionString(productName, productVersion, releaseVersion); } else { result = ProductConfig.getPrettyVersionString(null, releaseVersion, releaseCodeName); } return result; }
public String getPrettyProductName() { final String result; if(productName != null) { result = ProductConfig.getPrettyVersionString(productName, productVersion, releaseVersion); } else { result = ProductConfig.getPrettyVersionString(null, releaseVersion, releaseCodeName); } return result; }
public String getPrettyProductName() { final String result; if(productName != null) { result = ProductConfig.getPrettyVersionString(productName, productVersion, releaseVersion); } else { result = ProductConfig.getPrettyVersionString(null, releaseVersion, releaseCodeName); } return result; }
private static boolean handleHelpOrVersion(String arg, String jbossHome) { if (CommandLineConstants.HELP.equals(arg) || CommandLineConstants.SHORT_HELP.equals(arg) || CommandLineConstants.OLD_HELP.equals(arg)) { usage(); return true; } else if (CommandLineConstants.VERSION.equals(arg) || CommandLineConstants.SHORT_VERSION.equals(arg) || CommandLineConstants.OLD_VERSION.equals(arg) || CommandLineConstants.OLD_SHORT_VERSION.equals(arg)) { System.out.println(ProductConfig.fromFilesystemSlot(Module.getBootModuleLoader(), jbossHome, null).getPrettyVersionString()); return true; } return false; }
private static boolean handleHelpOrVersion(String arg, String jbossHome) { if (CommandLineConstants.HELP.equals(arg) || CommandLineConstants.SHORT_HELP.equals(arg) || CommandLineConstants.OLD_HELP.equals(arg)) { usage(); return true; } else if (CommandLineConstants.VERSION.equals(arg) || CommandLineConstants.SHORT_VERSION.equals(arg) || CommandLineConstants.OLD_VERSION.equals(arg) || CommandLineConstants.OLD_SHORT_VERSION.equals(arg)) { System.out.println(new ProductConfig(Module.getBootModuleLoader(), jbossHome, null).getPrettyVersionString()); return true; } return false; }
private static boolean handleHelpOrVersion(String arg, String jbossHome) { if (CommandLineConstants.HELP.equals(arg) || CommandLineConstants.SHORT_HELP.equals(arg) || CommandLineConstants.OLD_HELP.equals(arg)) { usage(); return true; } else if (CommandLineConstants.VERSION.equals(arg) || CommandLineConstants.SHORT_VERSION.equals(arg) || CommandLineConstants.OLD_VERSION.equals(arg) || CommandLineConstants.OLD_SHORT_VERSION.equals(arg)) { System.out.println(ProductConfig.fromFilesystemSlot(Module.getBootModuleLoader(), jbossHome, null).getPrettyVersionString()); return true; } return false; }
@Override public void stop(StopContext context) { String prettyVersion = environment.getProductConfig().getPrettyVersionString(); processState.setStopping(); AS_ROOT_LOGGER.serverStopped(prettyVersion, Integer.valueOf((int) (context.getElapsedTime() / 1000000L))); }
@Override public void stop(StopContext context) { String prettyVersion = environment.getProductConfig().getPrettyVersionString(); //Moved to AbstractControllerService.stop() //processState.setStopping(); ServerLogger.AS_ROOT_LOGGER.serverStopped(prettyVersion, Integer.valueOf((int) (context.getElapsedTime() / 1000000L))); BootstrapListener.deleteStartupMarker(environment.getDomainTempDir()); }
@Override public void stop(StopContext context) { String prettyVersion = environment.getProductConfig().getPrettyVersionString(); //Moved to AbstractControllerService.stop() //processState.setStopping(); ServerLogger.AS_ROOT_LOGGER.serverStopped(prettyVersion, Integer.valueOf((int) (context.getElapsedTime() / 1000000L))); BootstrapListener.deleteStartupMarker(environment.getDomainTempDir()); }
@Override public synchronized void stop(final StopContext context) { processState.setStopping(); CurrentServiceContainer.setServiceContainer(null); String prettyVersion = configuration.getServerEnvironment().getProductConfig().getPrettyVersionString(); AS_ROOT_LOGGER.serverStopped(prettyVersion, Integer.valueOf((int) (context.getElapsedTime() / 1000000L))); }
@Override public synchronized void stop(final StopContext context) { processState.setStopping(); CurrentServiceContainer.setServiceContainer(null); String prettyVersion = configuration.getServerEnvironment().getProductConfig().getPrettyVersionString(); AS_ROOT_LOGGER.serverStopped(prettyVersion, Integer.valueOf((int) (context.getElapsedTime() / 1000000L))); }
String prettyVersion = environment.getProductConfig().getPrettyVersionString(); AS_ROOT_LOGGER.serverStarting(prettyVersion); if (CONFIG_LOGGER.isDebugEnabled()) {
final String prettyVersion = config.getPrettyVersionString(); ServerLogger.AS_ROOT_LOGGER.serverStarting(prettyVersion); if (System.getSecurityManager() != null) {
@Override public synchronized void stop(final StopContext context) { //Moved to AbstractControllerService.stop() //processState.setStopping(); CurrentServiceContainer.setServiceContainer(null); String prettyVersion = configuration.getServerEnvironment().getProductConfig().getPrettyVersionString(); ServerLogger.AS_ROOT_LOGGER.serverStopped(prettyVersion, Integer.valueOf((int) (context.getElapsedTime() / 1000000L))); BootstrapListener.deleteStartupMarker(configuration.getServerEnvironment().getServerTempDir()); }
final String prettyVersion = config.getPrettyVersionString(); ServerLogger.AS_ROOT_LOGGER.serverStarting(prettyVersion); if (System.getSecurityManager() != null) {
@Override public synchronized void stop(final StopContext context) { //Moved to AbstractControllerService.stop() //processState.setStopping(); CurrentServiceContainer.setServiceContainer(null); String prettyVersion = configuration.getServerEnvironment().getProductConfig().getPrettyVersionString(); ServerLogger.AS_ROOT_LOGGER.serverStopped(prettyVersion, Integer.valueOf((int) (context.getElapsedTime() / 1000000L))); BootstrapListener.deleteStartupMarker(configuration.getServerEnvironment().getServerTempDir()); }
final ServerEnvironment serverEnvironment = configuration.getServerEnvironment(); final ProductConfig config = serverEnvironment.getProductConfig(); final String prettyVersion = config.getPrettyVersionString(); ServerLogger.AS_ROOT_LOGGER.serverStarting(prettyVersion); if (System.getSecurityManager() != null) {
final ServerEnvironment serverEnvironment = configuration.getServerEnvironment(); String prettyVersion = serverEnvironment.getProductConfig().getPrettyVersionString(); AS_ROOT_LOGGER.serverStarting(prettyVersion); if (CONFIG_LOGGER.isDebugEnabled()) {
final String prettyVersion = config.getPrettyVersionString(); AS_ROOT_LOGGER.serverStarting(prettyVersion); if (CONFIG_LOGGER.isDebugEnabled()) {