Package org.jboss.as.server
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 Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ServerEnvironmentWrapperdetermineEnvironment(String[] args, Properties systemProperties, Map<String,String> systemEnvironment, ServerEnvironment.LaunchType launchType)static ServerEnvironmentWrapperdetermineEnvironment(String[] args, Properties systemProperties, Map<String,String> systemEnvironment, ServerEnvironment.LaunchType launchType, long startTime)Establish theServerEnvironmentobject for this server.static voidmain(String[] args)The main method.
-
-
-
Method Detail
-
main
public static void main(String[] args)
The main method.- Parameters:
args- the command-line arguments
-
determineEnvironment
@Deprecated public static ServerEnvironmentWrapper determineEnvironment(String[] args, Properties systemProperties, Map<String,String> systemEnvironment, ServerEnvironment.LaunchType launchType)
-
determineEnvironment
public static ServerEnvironmentWrapper determineEnvironment(String[] args, Properties systemProperties, Map<String,String> systemEnvironment, ServerEnvironment.LaunchType launchType, long startTime)
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 launchedstartTime- time in ms since the epoch when the process was considered to be started- Returns:
- the ServerEnvironment object
-
-