public class XContainer extends Object
Long Form | Short Form | Default Value |
---|---|---|
conf-directory | confDir | ./conf |
In other words this class will try to load the main spring configuration from a file named server.xml
from the provided configuration directory which defaults to conf
relative to the JVM runtime working
directory
Modifier and Type | Field and Description |
---|---|
static String |
CONF_DIR_ARGUMENT_NAME
The static final variable that holds the configuration directory argument name which is used to pass in the
configuration directory to be used to start the container, which is
confDir |
static String |
DEFAULT_CONF_DIR
The static final variable that holds the default configuration director to be used in-case if the configuration
directory is not passed in as an argument to the JVM execution runtime, which is conf
|
static String |
MAIN_CONFIG_FILE
The static final variable that holds the main configuration file name to be looked up that should be residing in
the provided configuration directory, which is server.xml
|
Constructor and Description |
---|
XContainer() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
The main method that executes and starts the project-x server container, which accepts the configuration
directory as an argument, and looks up a file named server.xml to load the initial spring
application context
|
public static final String CONF_DIR_ARGUMENT_NAME
confDir
public static final String DEFAULT_CONF_DIR
public static final String MAIN_CONFIG_FILE
public static void main(String[] args)
args
- the set of arguments to be used for the startup process including the configuration directoryCopyright © 2016–2019 AdroitLogic. All rights reserved.