|
ZOO-Project
|
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... | |
| maps * | mapsFromHashMap (JNIEnv *env, jobject t, jclass scHashMapClass) |
| Convert a JAVA HashMap<String,HashMap<String,String>> to a maps. More... | |
| void displayStack | ( | JNIEnv * | env, |
| maps * | main_conf | ||
| ) |
Error handling: display stack trace in an ExceptionReport Document.
| env | the JNI environment pointer |
| main_conf | the 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>>
| env | the JNI environment pointer |
| t | the maps to convert |
| scHashMapClass | the HashMap class |
| scHashMap_class | the HashMap class |
| scHashMap_constructor | the pointer to the hashMap constructor method |
| maps* mapsFromHashMap | ( | JNIEnv * | env, |
| jobject | t, | ||
| jclass | scHashMapClass | ||
| ) |
Convert a JAVA HashMap<String,HashMap<String,String>> to a maps.
| env | the JNI environment pointer |
| t | the HashMap |
| scHashMapClass | the hashMap class |
What need to be done (in java). Set set = hm.entrySet(); Iterator i = set.iterator(); while(i.hasNext()){ Map.Entry me = (Map.Entry)i.next(); System.out.println(me.getKey() + " : " + me.getValue() ); }
| char* parseJVMOption | ( | map * | m | ) |
Create a string containing the JVM -D* options for a given map The result will be : -Dname=value.
| m | the map containing the option |
| char* parseJVMXOption | ( | map * | m | ) |
Create a string containing the JVM -X** option for a given map.
The result will be in the following format: -Xnamevalue
| m | the map containing the option |
| char* parseJVMXXOption | ( | map * | m | ) |
Create a string containing the JVM -XX:* option for a given map Depending on the map' name:
| m | the map containing the option |
| 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.
| main_conf | the conf maps containing the main.cfg settings |
| request | the map containing the HTTP request |
| s | the service structure |
| real_inputs | the maps containing the inputs |
| real_outputs | the maps containing the outputs |
The 3 standard parameter for each services
1.8.9.1