From 4b2db3de57e1a05724c0d0bf6034d899cb00739f Mon Sep 17 00:00:00 2001 From: "roberto@goyle" Date: Tue, 31 Jan 2012 11:15:05 +0100 Subject: [PATCH] started revamp of the JVM plugin --- plugins/jvm/jvm_plugin.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/jvm/jvm_plugin.c b/plugins/jvm/jvm_plugin.c index 638cda5c..1546994a 100644 --- a/plugins/jvm/jvm_plugin.c +++ b/plugins/jvm/jvm_plugin.c @@ -5,11 +5,13 @@ with javap -s -p you can get method signatures +This plugin is the core for all of the JVM-based ones + */ struct uwsgi_jvm ujvm; -struct option uwsgi_jvm_options[] = { +struct uwsgi_option uwsgi_jvm_options[] = { {"jvm-main-class", required_argument, 0, LONG_ARGS_JVM_CLASS}, {"jvm-classpath", required_argument, 0, LONG_ARGS_JVM_CLASSPATH}, {0, 0, 0, 0}, @@ -199,6 +201,7 @@ int uwsgi_jvm_strlen2c(jobject obj) { return (*ujvm.env)->GetStringUTFLength(ujvm.env, obj); } +/* int uwsgi_jvm_manage_opt(int i, char *optarg) { switch(i) { @@ -218,6 +221,7 @@ int uwsgi_jvm_manage_opt(int i, char *optarg) { return 0; } +*/ struct uwsgi_plugin jvm_plugin = {