Supporting with Command-Line arguments
When no user-provided main(..)
is available (see Container), the default Swarm
main
supports a handful of command-line arguments to the -swarm.jar
:
Argument | Description | Default |
---|---|---|
|
Define a Java system property. |
none |
|
Location of a Java |
none |
|
Bind the public listeners to an address. |
0.0.0.0 (all) |
|
Specify an XML configuration file (such as |
none |
|
Specify a |
|
|
Name of stage to activate from a |
none |
|
Display relevant help, including any known |
n/a |
|
Display the version of WildFly Swarm being used. |
n/a |