ZOO-Project: service_internal_java.c File Reference
ZOO-Project
service_internal_java.c File Reference

Functions

int zoo_java_support (maps **main_conf, map *request, service *s, maps **real_inputs, maps **real_outputs)
 Load a JAVA class then run the static public method corresponding to the service by passing the conf, inputs and outputs parameters by reference. More...
 
void displayStack (JNIEnv *env, maps *main_conf)
 Error handling: display stack trace in an ExceptionReport Document. More...
 
char * parseJVMOption (map *m)
 Create a string containing the JVM -D* options for a given map The result will be : -Dname=value. More...
 
char * parseJVMXXOption (map *m)
 Create a string containing the JVM -XX:* option for a given map Depending on the map' name: More...
 
char * parseJVMXOption (map *m)
 Create a string containing the JVM -X** option for a given map. More...
 
jobject HashMap_FromMaps (JNIEnv *env, maps *t, jclass scHashMapClass, jclass scHashMap_class, jmethodID scHashMap_constructor)
 Convert a maps to a JAVA HashMap<String,HashMap<String,String>> More...
 
mapsmapsFromHashMap (JNIEnv *env, jobject t, jclass scHashMapClass)
 Convert a JAVA HashMap<String,HashMap<String,String>> to a maps. More...
 

Function Documentation

void displayStack ( JNIEnv *  env,
maps main_conf 
)

Error handling: display stack trace in an ExceptionReport Document.

Parameters
envthe JNI environment pointer
main_confthe conf maps containing the main.cfg settings
jobject HashMap_FromMaps ( JNIEnv *  env,
maps t,
jclass  scHashMapClass,
jclass  scHashMap_class,
jmethodID  scHashMap_constructor 
)

Convert a maps to a JAVA HashMap<String,HashMap<String,String>>

Parameters
envthe JNI environment pointer
tthe maps to convert
scHashMapClassthe HashMap class

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png