nsIJVMManager

IID:a1e5ed50-aa4a-11d1-85b2-00805f0e4dfe
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

readonly PRBool JavaEnabled

The JavaEnabled variable to see if Java is Enabled or not


Methods

[noscript] void createProxyJNI ( nsISecureEnv secureEnv , out JNIEnv outProxyEnv ) [noscript] void getProxyJNI ( out JNIEnv outProxyEnv ) PRBool isAllPermissionGranted ( char* lastFingerprint , char* lastCommonName , char* rootFingerprint , char* rootCommonName ) nsIPrincipal isAppletTrusted ( char* RSABuf , PRUint32 RSABufLen , char* plaintext , PRUint32 plaintextLen , out PRBool isTrusted ) void showJavaConsole ( )

void createProxyJNI ( nsISecureEnv secureEnv , out JNIEnv outProxyEnv )

Creates a proxy JNI with an optional secure environment (which can be NULL). There is a one-to-one correspondence between proxy JNIs and threads, so calling this method multiple times from the same thread will return the same proxy JNI.

Arguments:
secureEnv
outProxyEnv

void getProxyJNI ( out JNIEnv outProxyEnv )

Returns the proxy JNI associated with the current thread, or NULL if no such association exists.

Arguments:
outProxyEnv

PRBool isAllPermissionGranted ( char* lastFingerprint , char* lastCommonName , char* rootFingerprint , char* rootCommonName )

IsAllPermissionGranted [Deprecated Sep-10-2000]

Arguments:
lastFingerprint
lastCommonName
rootFingerprint
rootCommonName

nsIPrincipal isAppletTrusted ( char* RSABuf , PRUint32 RSABufLen , char* plaintext , PRUint32 plaintextLen , out PRBool isTrusted )

Arguments:
RSABuf
RSABufLen
plaintext
plaintextLen
isTrusted

void showJavaConsole ( )

Called from Java Console menu item.

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com