...
The ApplicationRegistry is documented elsewhere but from the configuration perspective all you need to know is that the first time getConfiguredObject is called for a particular class, the configuration file is parsed and the configuration object is stored for future use. Subsequent calls to getConfiguredObject for the same class are very cheap since only a hash table lookup is done.
Command Line Options
The following options are available:
...
Option
...
Long Option
...
Description
...
b
...
bind
...
Bind to the specified address overriding any value in the config file
...
c
...
config
...
Use the given configuration file
...
h
...
help
...
Prints list of options
...
l
...
logconfig
...
Use the specified log4j.xml file rather than that in the etc directory
...
p
...
port
...
Specify port to listen on. Overrides value in config file
...
v
...
version
...
Print version information and exit
Include Page | ||||
---|---|---|---|---|
|
...
w
...
logwatch
...
Logging
Logging is handled slightly differently. The main reason for this is that logging is something we want configured before the main configuration file is processed.
...