1 2 /* 3 * Copyright (C) NGINX, Inc. 4 */ 5 6 #ifndef _NXT_JAVA_CONTEXT_H_INCLUDED_ 7 #define _NXT_JAVA_CONTEXT_H_INCLUDED_ 8 9 10 #include <jni.h> 11 12 13 int nxt_java_initContext(JNIEnv *env, jobject cl); 14 15 jobject nxt_java_startContext(JNIEnv *env, const char *webapp, 16 jobject classpaths); 17 18 void nxt_java_service(JNIEnv *env, jobject ctx, jobject jreq, jobject jresp); 19 20 void nxt_java_stopContext(JNIEnv *env, jobject ctx); 21 22 #endif /* _NXT_JAVA_CONTEXT_H_INCLUDED_ */ 23 24