Codemesh Runtime v3 C++ API Reference  3.9.205
Test_JNIEnv.h
1 //
2 // Copyright (c) 1999-2020 by Codemesh, Inc.. ALL RIGHTS RESERVED.
3 //
4 
5 #ifndef Test_JNIEnv_inc
6 #define Test_JNIEnv_inc
7 
8 
9 #include "xmog.h"
10 
11 
12 #if (XMOG_IMPLEMENTS_REMOTE_CLIENT==1)
13 
14 
15 class xmog_jvm;
16 class xmog_localenv;
17 struct Test_JavaVM;
18 
19 
20 #include "xmog_JNIEnv.h"
21 
22 
26 struct Test_JNIEnv : public xmog_JNIEnv
27 {
28 public:
29 
33  Test_JNIEnv( Test_JavaVM * jvm );
34 
38  ~Test_JNIEnv();
39 
40 private:
41 
46  void init();
47 
54  static JNINativeInterface_ theFunctions;
55 };
56 
57 
58 #endif /* XMOG_IMPLEMENTS_REMOTE_CLIENT */
59 
60 
61 #endif /* Test_JNIEnv_inc */
Test_JNIEnv
A JNIEnv type that simulates a JNIEnv for framework testing purposes.
Definition: Test_JNIEnv.h:26
Test_JNIEnv::Test_JNIEnv
Test_JNIEnv(Test_JavaVM *jvm)
A constructor that associates the env with a jvm.
xmog_jvm
The class that represents a Java Virtual Machine in the framework.
Definition: xmog_jvm.h:41
Test_JNIEnv::~Test_JNIEnv
~Test_JNIEnv()
Destructor.
xmog_localenv
A class representing per-thread information for the integration runtime.
Definition: xmog_localenv.h:32
Test_JavaVM
A JavaVM type that simulates a Java backend for framework testing purposes.
Definition: Test_JavaVM.h:24
xmog_JNIEnv
An abstract baseclass for concrete JNIEnv implementations.
Definition: xmog_JNIEnv.h:26

Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.