public final class Main extends Object
Modifier and Type | Method and Description |
---|---|
static ServerEnvironment |
determineEnvironment(String[] args,
Properties systemProperties,
Map<String,String> systemEnvironment,
ServerEnvironment.LaunchType launchType)
|
static ServerEnvironment |
determineEnvironment(String[] args,
Properties systemProperties,
Map<String,String> systemEnvironment,
ServerEnvironment.LaunchType launchType,
long startTime)
Establish the
ServerEnvironment object for this server. |
static void |
main(String[] args)
The main method.
|
public static void main(String[] args)
args
- the command-line arguments@Deprecated public static ServerEnvironment determineEnvironment(String[] args, Properties systemProperties, Map<String,String> systemEnvironment, ServerEnvironment.LaunchType launchType)
public static ServerEnvironment determineEnvironment(String[] args, Properties systemProperties, Map<String,String> systemEnvironment, ServerEnvironment.LaunchType launchType, long startTime)
ServerEnvironment
object for this server.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 startedCopyright © 2023 JBoss by Red Hat. All rights reserved.