Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsDummySecureEnv Class Reference

#include <CreateProxyJNI.h>

Inheritance diagram for nsDummySecureEnv:
Inheritance graph
[legend]
Collaboration diagram for nsDummySecureEnv:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsDummySecureEnv ()
NS_METHOD QueryInterface (const nsIID &uuid, void **result)
 NS_METHOD_ (nsrefcnt) AddRef(void)
 NS_METHOD_ (nsrefcnt) Release(void)
NS_METHOD NewObject (jclass clazz, jmethodID methodID, jvalue *args, jobject *result, nsISecurityContext *ctx=NULL)
 Create new Java object in LiveConnect.
NS_METHOD CallMethod (jni_type type, jobject obj, jmethodID methodID, jvalue *args, jvalue *result, nsISecurityContext *ctx=NULL)
 Invoke method on Java object in LiveConnect.
NS_METHOD CallNonvirtualMethod (jni_type type, jobject obj, jclass clazz, jmethodID methodID, jvalue *args, jvalue *result, nsISecurityContext *ctx=NULL)
 Invoke non-virtual method on Java object in LiveConnect.
NS_METHOD GetField (jni_type type, jobject obj, jfieldID fieldID, jvalue *result, nsISecurityContext *ctx=NULL)
 Get a field on Java object in LiveConnect.
NS_METHOD SetField (jni_type type, jobject obj, jfieldID fieldID, jvalue val, nsISecurityContext *ctx=NULL)
 Set a field on Java object in LiveConnect.
NS_METHOD CallStaticMethod (jni_type type, jclass clazz, jmethodID methodID, jvalue *args, jvalue *result, nsISecurityContext *ctx=NULL)
 Invoke static method on Java object in LiveConnect.
NS_METHOD GetStaticField (jni_type type, jclass clazz, jfieldID fieldID, jvalue *result, nsISecurityContext *ctx=NULL)
 Get a static field on Java object in LiveConnect.
NS_METHOD SetStaticField (jni_type type, jclass clazz, jfieldID fieldID, jvalue val, nsISecurityContext *ctx=NULL)
 Set a static field on Java object in LiveConnect.
NS_METHOD GetVersion (jint *version)
NS_METHOD DefineClass (const char *name, jobject loader, const jbyte *buf, jsize len, jclass *clazz)
NS_METHOD FindClass (const char *name, jclass *clazz)
NS_METHOD GetSuperclass (jclass sub, jclass *super)
NS_METHOD IsAssignableFrom (jclass sub, jclass super, jboolean *result)
NS_METHOD Throw (jthrowable obj, jint *result)
NS_METHOD ThrowNew (jclass clazz, const char *msg, jint *result)
NS_METHOD ExceptionOccurred (jthrowable *result)
NS_METHOD ExceptionDescribe (void)
NS_METHOD ExceptionClear (void)
NS_METHOD FatalError (const char *msg)
NS_METHOD NewGlobalRef (jobject lobj, jobject *result)
NS_METHOD DeleteGlobalRef (jobject gref)
NS_METHOD DeleteLocalRef (jobject obj)
NS_METHOD IsSameObject (jobject obj1, jobject obj2, jboolean *result)
NS_METHOD AllocObject (jclass clazz, jobject *result)
NS_METHOD GetObjectClass (jobject obj, jclass *result)
NS_METHOD IsInstanceOf (jobject obj, jclass clazz, jboolean *result)
NS_METHOD GetMethodID (jclass clazz, const char *name, const char *sig, jmethodID *id)
NS_METHOD GetFieldID (jclass clazz, const char *name, const char *sig, jfieldID *id)
NS_METHOD GetStaticMethodID (jclass clazz, const char *name, const char *sig, jmethodID *id)
NS_METHOD GetStaticFieldID (jclass clazz, const char *name, const char *sig, jfieldID *id)
NS_METHOD NewString (const jchar *unicode, jsize len, jstring *result)
NS_METHOD GetStringLength (jstring str, jsize *result)
NS_METHOD GetStringChars (jstring str, jboolean *isCopy, const jchar **result)
NS_METHOD ReleaseStringChars (jstring str, const jchar *chars)
NS_METHOD NewStringUTF (const char *utf, jstring *result)
NS_METHOD GetStringUTFLength (jstring str, jsize *result)
NS_METHOD GetStringUTFChars (jstring str, jboolean *isCopy, const char **result)
NS_METHOD ReleaseStringUTFChars (jstring str, const char *chars)
NS_METHOD GetArrayLength (jarray array, jsize *result)
NS_METHOD NewObjectArray (jsize len, jclass clazz, jobject init, jobjectArray *result)
NS_METHOD GetObjectArrayElement (jobjectArray array, jsize index, jobject *result)
NS_METHOD SetObjectArrayElement (jobjectArray array, jsize index, jobject val)
NS_METHOD NewArray (jni_type element_type, jsize len, jarray *result)
NS_METHOD GetArrayElements (jni_type type, jarray array, jboolean *isCopy, void *result)
NS_METHOD ReleaseArrayElements (jni_type type, jarray array, void *elems, jint mode)
NS_METHOD GetArrayRegion (jni_type type, jarray array, jsize start, jsize len, void *buf)
NS_METHOD SetArrayRegion (jni_type type, jarray array, jsize start, jsize len, void *buf)
NS_METHOD RegisterNatives (jclass clazz, const JNINativeMethod *methods, jint nMethods, jint *result)
NS_METHOD UnregisterNatives (jclass clazz, jint *result)
NS_METHOD MonitorEnter (jobject obj, jint *result)
NS_METHOD MonitorExit (jobject obj, jint *result)
NS_METHOD GetJavaVM (JavaVM **vm, jint *result)

Detailed Description

Definition at line 39 of file CreateProxyJNI.h.


Constructor & Destructor Documentation

Definition at line 41 of file CreateProxyJNI.h.

{}

Member Function Documentation

NS_METHOD nsDummySecureEnv::AllocObject ( jclass  clazz,
jobject result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 152 of file CreateProxyJNI.h.

                                              { return NS_OK; }
NS_METHOD nsDummySecureEnv::CallMethod ( jni_type  type,
jobject  obj,
jmethodID  methodID,
jvalue args,
jvalue result,
nsISecurityContext ctx = NULL 
) [inline, virtual]

Invoke method on Java object in LiveConnect.

Parameters:
type-- Return type
obj-- Java object.
methodID-- method id
args-- arguments for invoking the constructor.
result-- return result of invocation.
ctx-- security context

Implements nsISecureEnv.

Definition at line 60 of file CreateProxyJNI.h.

                                                             { return NS_OK; }
NS_METHOD nsDummySecureEnv::CallNonvirtualMethod ( jni_type  type,
jobject  obj,
jclass  clazz,
jmethodID  methodID,
jvalue args,
jvalue result,
nsISecurityContext ctx = NULL 
) [inline, virtual]

Invoke non-virtual method on Java object in LiveConnect.

Parameters:
type-- Return type
obj-- Java object.
clazz-- Class object
methodID-- method id
args-- arguments for invoking the constructor.
ctx-- security context
result-- return result of invocation.

Implements nsISecureEnv.

Definition at line 67 of file CreateProxyJNI.h.

                                                                       { return NS_OK; }
NS_METHOD nsDummySecureEnv::CallStaticMethod ( jni_type  type,
jclass  clazz,
jmethodID  methodID,
jvalue args,
jvalue result,
nsISecurityContext ctx = NULL 
) [inline, virtual]

Invoke static method on Java object in LiveConnect.

Parameters:
type-- Return type
clazz-- Class object.
methodID-- method id
args-- arguments for invoking the constructor.
result-- return result of invocation.
ctx-- security context

Implements nsISecureEnv.

Definition at line 87 of file CreateProxyJNI.h.

                                                                   { return NS_OK; }
NS_METHOD nsDummySecureEnv::DefineClass ( const char *  name,
jobject  loader,
const jbyte buf,
jsize  len,
jclass clazz 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 110 of file CreateProxyJNI.h.

                                            { return NS_OK; }

Implements nsISecureEnv.

Definition at line 144 of file CreateProxyJNI.h.

{ return NS_OK; }

Implements nsISecureEnv.

Definition at line 146 of file CreateProxyJNI.h.

{ return NS_OK; }

Implements nsISecureEnv.

Definition at line 137 of file CreateProxyJNI.h.

{ return NS_OK; }

Implements nsISecureEnv.

Definition at line 135 of file CreateProxyJNI.h.

{ return NS_OK; }
NS_METHOD nsDummySecureEnv::ExceptionOccurred ( jthrowable result) [inline, virtual]

Implements nsISecureEnv.

Definition at line 133 of file CreateProxyJNI.h.

{ return NS_OK; }
NS_METHOD nsDummySecureEnv::FatalError ( const char *  msg) [inline, virtual]

Implements nsISecureEnv.

Definition at line 139 of file CreateProxyJNI.h.

{ return NS_OK; }
NS_METHOD nsDummySecureEnv::FindClass ( const char *  name,
jclass clazz 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 116 of file CreateProxyJNI.h.

                                          { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetArrayElements ( jni_type  type,
jarray  array,
jboolean isCopy,
void result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 229 of file CreateProxyJNI.h.

                                                { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetArrayLength ( jarray  array,
jsize result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 209 of file CreateProxyJNI.h.

                                               { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetArrayRegion ( jni_type  type,
jarray  array,
jsize  start,
jsize  len,
void buf 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 240 of file CreateProxyJNI.h.

                                           { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetField ( jni_type  type,
jobject  obj,
jfieldID  fieldID,
jvalue result,
nsISecurityContext ctx = NULL 
) [inline, virtual]

Get a field on Java object in LiveConnect.

Parameters:
type-- Return type
obj-- Java object.
fieldID-- field id
result-- return field value
ctx-- security context

Implements nsISecureEnv.

Definition at line 75 of file CreateProxyJNI.h.

                                                           { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetFieldID ( jclass  clazz,
const char *  name,
const char *  sig,
jfieldID id 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 167 of file CreateProxyJNI.h.

                                          { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetJavaVM ( JavaVM **  vm,
jint result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 266 of file CreateProxyJNI.h.

                                         { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetMethodID ( jclass  clazz,
const char *  name,
const char *  sig,
jmethodID id 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 162 of file CreateProxyJNI.h.

                                            { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetObjectArrayElement ( jobjectArray  array,
jsize  index,
jobject result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 217 of file CreateProxyJNI.h.

                                                        { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetObjectClass ( jobject  obj,
jclass result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 155 of file CreateProxyJNI.h.

                                                { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetStaticField ( jni_type  type,
jclass  clazz,
jfieldID  fieldID,
jvalue result,
nsISecurityContext ctx = NULL 
) [inline, virtual]

Get a static field on Java object in LiveConnect.

Parameters:
type-- Return type
clazz-- Class object.
fieldID-- field id
result-- return field value
ctx-- security context

Implements nsISecureEnv.

Definition at line 94 of file CreateProxyJNI.h.

                                                                 { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetStaticFieldID ( jclass  clazz,
const char *  name,
const char *  sig,
jfieldID id 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 177 of file CreateProxyJNI.h.

                                                { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetStaticMethodID ( jclass  clazz,
const char *  name,
const char *  sig,
jmethodID id 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 172 of file CreateProxyJNI.h.

                                                  { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetStringChars ( jstring  str,
jboolean isCopy,
const jchar **  result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 189 of file CreateProxyJNI.h.

                                                      { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetStringLength ( jstring  str,
jsize result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 186 of file CreateProxyJNI.h.

                                                { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetStringUTFChars ( jstring  str,
jboolean isCopy,
const char **  result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 202 of file CreateProxyJNI.h.

                                                        { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetStringUTFLength ( jstring  str,
jsize result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 199 of file CreateProxyJNI.h.

                                                   { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetSuperclass ( jclass  sub,
jclass super 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 119 of file CreateProxyJNI.h.

                                              { return NS_OK; }
NS_METHOD nsDummySecureEnv::GetVersion ( jint version) [inline, virtual]

Implements nsISecureEnv.

Definition at line 108 of file CreateProxyJNI.h.

{ return NS_OK; }
NS_METHOD nsDummySecureEnv::IsAssignableFrom ( jclass  sub,
jclass  super,
jboolean result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 122 of file CreateProxyJNI.h.

                                                    { return NS_OK; }
NS_METHOD nsDummySecureEnv::IsInstanceOf ( jobject  obj,
jclass  clazz,
jboolean result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 158 of file CreateProxyJNI.h.

                                                { return NS_OK; }
NS_METHOD nsDummySecureEnv::IsSameObject ( jobject  obj1,
jobject  obj2,
jboolean result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 148 of file CreateProxyJNI.h.

                                                { return NS_OK; }
NS_METHOD nsDummySecureEnv::MonitorEnter ( jobject  obj,
jint result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 260 of file CreateProxyJNI.h.

                                            { return NS_OK; }
NS_METHOD nsDummySecureEnv::MonitorExit ( jobject  obj,
jint result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 263 of file CreateProxyJNI.h.

                                           { return NS_OK; }
NS_METHOD nsDummySecureEnv::NewArray ( jni_type  element_type,
jsize  len,
jarray result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 225 of file CreateProxyJNI.h.

                                          { return NS_OK; }
NS_METHOD nsDummySecureEnv::NewGlobalRef ( jobject  lobj,
jobject result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 141 of file CreateProxyJNI.h.

                                               { return NS_OK; }
NS_METHOD nsDummySecureEnv::NewObject ( jclass  clazz,
jmethodID  methodID,
jvalue args,
jobject result,
nsISecurityContext ctx = NULL 
) [inline, virtual]

Create new Java object in LiveConnect.

Parameters:
clazz-- Java Class object.
methodID-- Method id
args-- arguments for invoking the constructor.
result-- return new Java object.
ctx-- security context

Implements nsISecureEnv.

Definition at line 54 of file CreateProxyJNI.h.

                                                            { return NS_OK; }
NS_METHOD nsDummySecureEnv::NewObjectArray ( jsize  len,
jclass  clazz,
jobject  init,
jobjectArray result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 212 of file CreateProxyJNI.h.

                                                { return NS_OK; }
NS_METHOD nsDummySecureEnv::NewString ( const jchar unicode,
jsize  len,
jstring result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 182 of file CreateProxyJNI.h.

                                            { return NS_OK; }
NS_METHOD nsDummySecureEnv::NewStringUTF ( const char *  utf,
jstring result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 196 of file CreateProxyJNI.h.

                                               { return NS_OK; }

Definition at line 47 of file CreateProxyJNI.h.

{ return NS_OK; }

Definition at line 49 of file CreateProxyJNI.h.

{ return NS_OK; }
NS_METHOD nsDummySecureEnv::QueryInterface ( const nsIID uuid,
void **  result 
) [inline]

Definition at line 45 of file CreateProxyJNI.h.

{ return NS_OK; }
NS_METHOD nsDummySecureEnv::RegisterNatives ( jclass  clazz,
const JNINativeMethod methods,
jint  nMethods,
jint result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 252 of file CreateProxyJNI.h.

                                               { return NS_OK; }
NS_METHOD nsDummySecureEnv::ReleaseArrayElements ( jni_type  type,
jarray  array,
void elems,
jint  mode 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 234 of file CreateProxyJNI.h.

                                                 { return NS_OK; }
NS_METHOD nsDummySecureEnv::ReleaseStringChars ( jstring  str,
const jchar chars 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 193 of file CreateProxyJNI.h.

                                                         { return NS_OK; }
NS_METHOD nsDummySecureEnv::ReleaseStringUTFChars ( jstring  str,
const char *  chars 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 206 of file CreateProxyJNI.h.

                                                           { return NS_OK; }
NS_METHOD nsDummySecureEnv::SetArrayRegion ( jni_type  type,
jarray  array,
jsize  start,
jsize  len,
void buf 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 246 of file CreateProxyJNI.h.

                                            { return NS_OK; }
NS_METHOD nsDummySecureEnv::SetField ( jni_type  type,
jobject  obj,
jfieldID  fieldID,
jvalue  val,
nsISecurityContext ctx = NULL 
) [inline, virtual]

Set a field on Java object in LiveConnect.

Parameters:
type-- Return type
obj-- Java object.
fieldID-- field id
val-- field value to set
ctx-- security context

Implements nsISecureEnv.

Definition at line 81 of file CreateProxyJNI.h.

                                                          { return NS_OK; }
NS_METHOD nsDummySecureEnv::SetObjectArrayElement ( jobjectArray  array,
jsize  index,
jobject  val 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 221 of file CreateProxyJNI.h.

                                                     { return NS_OK; }
NS_METHOD nsDummySecureEnv::SetStaticField ( jni_type  type,
jclass  clazz,
jfieldID  fieldID,
jvalue  val,
nsISecurityContext ctx = NULL 
) [inline, virtual]

Set a static field on Java object in LiveConnect.

Parameters:
type-- Return type
clazz-- Class object.
fieldID-- field id
val-- field value to set
ctx-- security context

Implements nsISecureEnv.

Definition at line 101 of file CreateProxyJNI.h.

                                                                { return NS_OK; }
NS_METHOD nsDummySecureEnv::Throw ( jthrowable  obj,
jint result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 126 of file CreateProxyJNI.h.

                                     { return NS_OK; }
NS_METHOD nsDummySecureEnv::ThrowNew ( jclass  clazz,
const char *  msg,
jint result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 129 of file CreateProxyJNI.h.

                                        { return NS_OK; }
NS_METHOD nsDummySecureEnv::UnregisterNatives ( jclass  clazz,
jint result 
) [inline, virtual]

Implements nsISecureEnv.

Definition at line 257 of file CreateProxyJNI.h.

                                                 { return NS_OK; }

The documentation for this class was generated from the following file: