Back to index

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

#include <nsISecureJNI.h>

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

List of all members.

Public Member Functions

NS_IMETHOD NewObject (JNIEnv *env, jclass clazz, const char *name, const char *sig, jvalue *args, nsISecurityContext *ctx, jvalue *result)=0
 Create new Java object in LiveConnect.
NS_IMETHOD CallMethod (JNIEnv *env, jobject obj, const char *name, const char *sig, jvalue *args, nsISecurityContext *ctx, jvalue *result)=0
 Invoke method on Java object in LiveConnect.
NS_IMETHOD CallNonvirtualMethod (JNIEnv *env, jobject obj, jclass clazz, const char *name, const char *sig, jvalue *args, nsISecurityContext *ctx, jvalue *result)=0
 Invoke non-virtual method on Java object in LiveConnect.
NS_IMETHOD GetField (JNIEnv *env, jobject obj, const char *name, const char *sig, nsISecurityContext *ctx, jvalue *result)=0
 Get a field on Java object in LiveConnect.
NS_IMETHOD SetField (JNIEnv *env, jobject obj, const char *name, const char *sig, jvalue val, nsISecurityContext *ctx)=0
 Set a field on Java object in LiveConnect.
NS_IMETHOD CallStaticMethod (JNIEnv *env, jclass clazz, const char *name, const char *sig, jvalue *args, nsISecurityContext *ctx, jvalue *result)=0
 Invoke static method on Java object in LiveConnect.
NS_IMETHOD GetStaticField (JNIEnv *env, jclass clazz, const char *name, const char *sig, nsISecurityContext *ctx, jvalue *result)=0
 Get a static field on Java object in LiveConnect.
NS_IMETHOD SetStaticField (JNIEnv *env, jclass clazz, const char *name, const char *sig, jvalue val, nsISecurityContext *ctx)=0
 Set a static field on Java object in LiveConnect.

Detailed Description

Definition at line 46 of file nsISecureJNI.h.


Member Function Documentation

NS_IMETHOD nsISecureJNI::CallMethod ( JNIEnv env,
jobject  obj,
const char *  name,
const char *  sig,
jvalue args,
nsISecurityContext ctx,
jvalue result 
) [pure virtual]

Invoke method on Java object in LiveConnect.

Parameters:
env-- JNIEnv pointer.
obj-- Java object.
name-- method name.
sig-- method signature.
args-- arguments for invoking the constructor.
ctx-- security context
result-- return result of invocation.
NS_IMETHOD nsISecureJNI::CallNonvirtualMethod ( JNIEnv env,
jobject  obj,
jclass  clazz,
const char *  name,
const char *  sig,
jvalue args,
nsISecurityContext ctx,
jvalue result 
) [pure virtual]

Invoke non-virtual method on Java object in LiveConnect.

Parameters:
env-- JNIEnv pointer.
obj-- Java object.
name-- method name.
sig-- method signature.
args-- arguments for invoking the constructor.
ctx-- security context
result-- return result of invocation.
NS_IMETHOD nsISecureJNI::CallStaticMethod ( JNIEnv env,
jclass  clazz,
const char *  name,
const char *  sig,
jvalue args,
nsISecurityContext ctx,
jvalue result 
) [pure virtual]

Invoke static method on Java object in LiveConnect.

Parameters:
env-- JNIEnv pointer.
obj-- Java object.
name-- method name.
sig-- method signature.
args-- arguments for invoking the constructor.
ctx-- security context
result-- return result of invocation.
NS_IMETHOD nsISecureJNI::GetField ( JNIEnv env,
jobject  obj,
const char *  name,
const char *  sig,
nsISecurityContext ctx,
jvalue result 
) [pure virtual]

Get a field on Java object in LiveConnect.

Parameters:
env-- JNIEnv pointer.
obj-- Java object.
name-- field name.
sig-- field signature
ctx-- security context
result-- return field value
NS_IMETHOD nsISecureJNI::GetStaticField ( JNIEnv env,
jclass  clazz,
const char *  name,
const char *  sig,
nsISecurityContext ctx,
jvalue result 
) [pure virtual]

Get a static field on Java object in LiveConnect.

Parameters:
env-- JNIEnv pointer.
obj-- Java object.
name-- field name.
sig-- field signature
ctx-- security context
result-- return field value
NS_IMETHOD nsISecureJNI::NewObject ( JNIEnv env,
jclass  clazz,
const char *  name,
const char *  sig,
jvalue args,
nsISecurityContext ctx,
jvalue result 
) [pure virtual]

Create new Java object in LiveConnect.

Parameters:
env-- JNIEnv pointer.
clazz-- Java Class object.
name-- constructor name.
sig-- constructor signature.
args-- arguments for invoking the constructor.
ctx-- security context
result-- return new Java object.
NS_IMETHOD nsISecureJNI::SetField ( JNIEnv env,
jobject  obj,
const char *  name,
const char *  sig,
jvalue  val,
nsISecurityContext ctx 
) [pure virtual]

Set a field on Java object in LiveConnect.

Parameters:
env-- JNIEnv pointer.
obj-- Java object.
name-- field name.
sig-- field signature
result-- field value to set
ctx-- security context
NS_IMETHOD nsISecureJNI::SetStaticField ( JNIEnv env,
jclass  clazz,
const char *  name,
const char *  sig,
jvalue  val,
nsISecurityContext ctx 
) [pure virtual]

Set a static field on Java object in LiveConnect.

Parameters:
env-- JNIEnv pointer.
obj-- Java object.
name-- field name.
sig-- field signature
result-- field value to set
ctx-- security context

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