summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_main_process.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@gmail.com>2019-02-28 18:02:42 +0300
committerMax Romanov <max.romanov@gmail.com>2019-02-28 18:02:42 +0300
commit5bfdebb9e4161a689113d73775498949a09d7fb5 (patch)
treefcb69169e3da983db0eb1f48d2dccc2ac2ff867b /src/nxt_main_process.c
parentec7319d32c9c41597a99a9422ff324c97a92bb21 (diff)
downloadunit-5bfdebb9e4161a689113d73775498949a09d7fb5.tar.gz
unit-5bfdebb9e4161a689113d73775498949a09d7fb5.tar.bz2
Introducing Java Servlet Container beta.
Diffstat (limited to 'src/nxt_main_process.c')
-rw-r--r--src/nxt_main_process.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/nxt_main_process.c b/src/nxt_main_process.c
index a33117e2..f756bff7 100644
--- a/src/nxt_main_process.c
+++ b/src/nxt_main_process.c
@@ -219,12 +219,38 @@ static nxt_conf_map_t nxt_ruby_app_conf[] = {
};
+static nxt_conf_map_t nxt_java_app_conf[] = {
+ {
+ nxt_string("classpath"),
+ NXT_CONF_MAP_PTR,
+ offsetof(nxt_common_app_conf_t, u.java.classpath),
+ },
+ {
+ nxt_string("webapp"),
+ NXT_CONF_MAP_CSTRZ,
+ offsetof(nxt_common_app_conf_t, u.java.webapp),
+ },
+ {
+ nxt_string("options"),
+ NXT_CONF_MAP_PTR,
+ offsetof(nxt_common_app_conf_t, u.java.options),
+ },
+ {
+ nxt_string("unit_jars"),
+ NXT_CONF_MAP_CSTRZ,
+ offsetof(nxt_common_app_conf_t, u.java.unit_jars),
+ },
+
+};
+
+
static nxt_conf_app_map_t nxt_app_maps[] = {
{ nxt_nitems(nxt_external_app_conf), nxt_external_app_conf },
{ nxt_nitems(nxt_python_app_conf), nxt_python_app_conf },
{ nxt_nitems(nxt_php_app_conf), nxt_php_app_conf },
{ nxt_nitems(nxt_perl_app_conf), nxt_perl_app_conf },
{ nxt_nitems(nxt_ruby_app_conf), nxt_ruby_app_conf },
+ { nxt_nitems(nxt_java_app_conf), nxt_java_app_conf },
};