Class Main

java.lang.Object
org.jboss.as.server.Main

public final class Main extends Object
The main-class entry point for standalone server instances.
Author:
David M. Lloyd, John Bailey, Brian Stansberry, Anil Saldhana
  • Method Details

    • main

      public static void main(String[] args)
      The main method.
      Parameters:
      args - the command-line arguments
    • determineEnvironment

      public static ServerEnvironmentWrapper determineEnvironment(String[] args, Properties systemProperties, Map<String,String> systemEnvironment, ServerEnvironment.LaunchType launchType, ElapsedTime elapsedTime)
      Establish the ServerEnvironment object for this server.
      Parameters:
      args - any command line arguments passed to the process main method
      systemProperties - system properties
      systemEnvironment - environment variables
      launchType - how the process was launched
      elapsedTime - tracker for elapsed time since the process was considered to be started
      Returns:
      the ServerEnvironment object