--- /dev/null
+#ifndef _XBT_JCONTEXT_H\r
+#define _XBT_JCONTEXT_H\r
+\r
+#include <jni.h> /* use java native interface to bind the msg structures to the java instances */ \r
+#include "portable.h"\r
+#include "xbt/misc.h"\r
+\r
+#ifndef _XBT_CONTEXT_PRIVATE_H\r
+#include "xbt_context_private.h"\r
+#endif /* _XBT_CONTEXT_PRIVATE_H */\r
+\r
+SG_BEGIN_DECL()\r
+\r
+#ifndef _XBT_CONTEXT_FACTORY_T_DEFINED\r
+typedef struct s_xbt_context_factory* xbt_context_factory_t;\r
+#define _XBT_CONTEXT_FACTORY_T_DEFINED\r
+#endif /* !_XBT_CONTEXT_FACTORY_T_DEFINED */\r
+\r
+typedef struct s_xbt_jcontext\r
+{\r
+ XBT_CTX_BASE_T;\r
+ jobject jprocess; /* the java process instance binded with the msg process structure */\r
+ JNIEnv* jenv; /* jni interface pointer associated to this thread */\r
+}s_xbt_jcontext_t,* xbt_jcontext_t;\r
+\r
+int\r
+xbt_jcontext_factory_init(xbt_context_factory_t* factory);\r
+\r
+\r
+SG_END_DECL()\r
+\r
+\r
+\r
+\r
+#endif /* !_XBT_JCONTEXT_H */\r