|
| Test_JavaVM () |
| The default constructor. More...
|
|
| ~Test_JavaVM () |
| Destructor. More...
|
|
jint | bind_class (const char *name) |
| Binds a classname to a "handle". More...
|
|
jstring | RemoteNewString (const unsigned short *str, xmog_JNIEnv *env, int len=-1) |
| Attempts to create a string on the server.
|
|
jstring | RemoteNewString (const char *str, xmog_JNIEnv *env, xmog_base *encoding, int len=-1) |
| Attempts to create a string on the server.
|
|
jstring | RemoteNewString (const char *str, xmog_JNIEnv *env, const char *encoding, int len=-1) |
| Attempts to create a string on the server.
|
|
jstring | RemoteNewStringUtf (const char *str, xmog_JNIEnv *env) |
| Attempts to create a string on the server.
|
|
jarray | RemoteNewArray (const char *arrType, jsize size, xmog_JNIEnv *env) |
| Creates an array and returns the handle. More...
|
|
virtual jarray | RemoteNewPrimitiveArray (const char *arrType, xmog::xmog_data_code elemCode, void *pData, jsize length, jsize size, xmog_JNIEnv *env) |
| Creates a primitive array from the given data and returns the handle. More...
|
|
void | RemoteGetArrayRegion (const char *arrType, jarray array, jsize start, jsize len, void *buf, xmog_JNIEnv *env) |
| Returns the values in a region of an array. More...
|
|
void | RemoteSetArrayRegion (const char *arrType, jarray array, jsize start, jsize len, void *buf, xmog_JNIEnv *env) |
| Sets the values of a region of an array. More...
|
|
jclass | RemoteGetSuperClass (jclass sub, xmog_JNIEnv *env) |
| Queries for a subtype's superclass. More...
|
|
jboolean | RemoteIsAssignableFrom (jclass sub, jclass sup, xmog_JNIEnv *env) |
| Queries for an inheritance relationship between two types. More...
|
|
jboolean | RemoteIsInstanceOf (jobject obj, jclass clazz, xmog_JNIEnv *env) |
| Queries for an instance-of relationship between an object and a type. More...
|
|
jclass | RemoteGetClass (jobject obj, xmog_JNIEnv *env) |
| Queries for the type of an object. More...
|
|
| xmog_JavaVM () |
| The default constructor.
|
|
| ~xmog_JavaVM () |
| Destructor. More...
|
|
xmog_jvm * | getJvm () const |
| Returns the higher-level abstraction that owns this instance.
|
|
void | setJvm (xmog_jvm *jvm_) |
| Sets the higher-level abstraction that owns this instance. More...
|
|
bool | getInDestroy () |
| Returns true if this instance has started destroy processing.
|
|
void | setInDestroy (bool b) |
| Sets flag to true if this instance has started destroy processing.
|
|
| xmog_remote_ref_map (xmog_remote_ref_map *parentFrame) |
| Constructs a reference map.
|
|
int | get_data (jobject _ref, void **pData, size_t *pLength) |
| Returns the cached data associated with a reference.
|
|
int | delete_global (jobject _ref) |
| Deletes a global reference from the map. More...
|
|
jobject | new_global (jobject _ref, void *data=NULL, size_t size=0) |
| Adds a global reference to the map.
|
|
int | delete_local (jobject _ref) |
| Deletes a local reference from the map. More...
|
|
jobject | new_local (jobject _ref, void *data=NULL, size_t size=0) |
| Adds a local reference to the map.
|
|
int | delete_weakglobal (jobject _ref) |
| Deletes a weak global reference from the map. More...
|
|
jobject | new_weakglobal (jobject _ref, void *data=NULL, size_t size=0) |
| Adds a weak global reference to the map.
|
|
xmog_remote_ref_map * | push_frame () |
| Pushes a new frame on the stack and returns the new frame.
|
|
xmog_remote_ref_map * | pop_frame () |
| Pops a frame from the stack and returns the parent frame.
|
|
| xmog_class_info_mapper () |
| Constructs a mapper instance.
|
|
int | register_class (jclass id, jclass super_id, const char *name, size_t numIfcs, jclass *ifcs) |
|
int | get_super (jclass sub, jclass &sup) const |
|
int | get_class_name (jclass id, char *&name) const |
|
int | get_num_ifcs (jclass sub, size_t &size) const |
|
int | get_ifc (jclass sub, size_t index, jclass &ifc) const |
|
int | is_assignable (jclass sub, jclass sup, jboolean &bAssignable) const |
|
A JavaVM type that simulates a Java backend for framework testing purposes.