Back to index

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

#include <nsIJVMPlugin.h>

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

List of all members.

Public Member Functions

NS_IMETHOD AddToClassPath (const char *dirPath)=0
NS_IMETHOD RemoveFromClassPath (const char *dirPath)=0
NS_IMETHOD GetClassPath (const char **result)=0
NS_IMETHOD GetJavaWrapper (JNIEnv *jenv, jint obj, jobject *jobj)=0
NS_IMETHOD CreateSecureEnv (JNIEnv *proxyEnv, nsISecureEnv **outSecureEnv)=0
 This creates a new secure communication channel with Java.
NS_IMETHOD SpendTime (PRUint32 timeMillis)=0
 Gives time to the JVM from the main event loop of the browser.
NS_IMETHOD UnwrapJavaWrapper (JNIEnv *jenv, jobject jobj, jint *obj)=0

Detailed Description

Definition at line 76 of file nsIJVMPlugin.h.


Member Function Documentation

NS_IMETHOD nsIJVMPlugin::AddToClassPath ( const char *  dirPath) [pure virtual]

Implemented in MRJPlugin, and MRJPlugin.

Here is the caller graph for this function:

NS_IMETHOD nsIJVMPlugin::CreateSecureEnv ( JNIEnv proxyEnv,
nsISecureEnv **  outSecureEnv 
) [pure virtual]

This creates a new secure communication channel with Java.

The second parameter, nativeEnv, if non-NULL, will be the actual thread for Java communication. Otherwise, a new thread should be created.

Parameters:
proxyEnvthe env to be used by all clients on the browser side
Returns:
outSecureEnv the secure environment used by the proxyEnv

Implemented in MRJPlugin, and MRJPlugin.

NS_IMETHOD nsIJVMPlugin::GetClassPath ( const char **  result) [pure virtual]

Implemented in MRJPlugin, and MRJPlugin.

Here is the caller graph for this function:

NS_IMETHOD nsIJVMPlugin::GetJavaWrapper ( JNIEnv jenv,
jint  obj,
jobject jobj 
) [pure virtual]

Implemented in MRJPlugin, and MRJPlugin.

Here is the caller graph for this function:

NS_IMETHOD nsIJVMPlugin::RemoveFromClassPath ( const char *  dirPath) [pure virtual]

Implemented in MRJPlugin, and MRJPlugin.

NS_IMETHOD nsIJVMPlugin::SpendTime ( PRUint32  timeMillis) [pure virtual]

Gives time to the JVM from the main event loop of the browser.

This is necessary when there aren't any plugin instances around, but Java threads exist.

Implemented in MRJPlugin, and MRJPlugin.

Here is the caller graph for this function:

NS_IMETHOD nsIJVMPlugin::UnwrapJavaWrapper ( JNIEnv jenv,
jobject  jobj,
jint obj 
) [pure virtual]

Implemented in MRJPlugin, and MRJPlugin.

Here is the caller graph for this function:


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