WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIJRILiveConnectPluginInstancePeer

IID:25b63f40-f773-11d1-815b-006008119d7a
Inherits From:nsISupports

The nsIJRILiveConnectPluginInstancePeer interface is implemented by browsers that support JRI-based LiveConnect. Note that for 5.0, LiveConnect support has become JNI-based, so this interface is effectively deprecated.

To obtain: QueryInterface on nsIPluginInstancePeer


Methods

void getJavaEnv ( out JRIEnvPtr* env ) void getJavaPeer ( out jref javaPeer )

void getJavaEnv ( out JRIEnvPtr* env )

Returns a JRI env corresponding to the current Java thread of the browser.

(Corresponds to NPN_GetJavaEnv.)

Arguments:
env

void getJavaPeer ( out jref javaPeer )

Returns a JRI reference to the Java peer object associated with the plugin instance. This object is an instance of the class specified by nsIJRILiveConnectPlugin::GetJavaClass.

(Corresponds to NPN_GetJavaPeer.)

Arguments:
javaPeer

Reference documentation is generated from Mozilla's source.