Package org.jboss.as.server
Class Main
java.lang.Object
org.jboss.as.server.Main
The main-class entry point for standalone server instances.
- Author:
- David M. Lloyd, John Bailey, Brian Stansberry, Anil Saldhana
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServerEnvironmentWrapperdetermineEnvironment(String[] args, Properties systemProperties, Map<String, String> systemEnvironment, ServerEnvironment.LaunchType launchType, ElapsedTime elapsedTime) Establish theServerEnvironmentobject for this server.static voidThe main method.
-
Method Details
-
main
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 theServerEnvironmentobject for this server.- Parameters:
args- any command line arguments passed to the process main methodsystemProperties- system propertiessystemEnvironment- environment variableslaunchType- how the process was launchedelapsedTime- tracker for elapsed time since the process was considered to be started- Returns:
- the ServerEnvironment object
-