Back to index

lightning-sunbird  0.9+nobinonly
Package Functions | Static Private Attributes
netscape.oji.ProxyClassLoaderFactory.ProxyClassLoader Class Reference

Trivial subclass of URLClassLoader that predefines the class netscape.oji.LiveConnectProxy as if it were loaded from the specified codebase URL passed to the constructor. More...

Inheritance diagram for netscape.oji.ProxyClassLoaderFactory.ProxyClassLoader:
Inheritance graph
[legend]
Collaboration diagram for netscape.oji.ProxyClassLoaderFactory.ProxyClassLoader:
Collaboration graph
[legend]

List of all members.

Package Functions

 ProxyClassLoader (URL[] documentURLs)

Static Private Attributes

static byte[] data = getMRJPluginClassFile("netscape/oji/LiveConnectProxy.class")

Detailed Description

Trivial subclass of URLClassLoader that predefines the class netscape.oji.LiveConnectProxy as if it were loaded from the specified codebase URL passed to the constructor.

See also:
netscape.oji.LiveConnectProxy

Definition at line 83 of file ProxyClassLoaderFactory.java.


Constructor & Destructor Documentation

Definition at line 85 of file ProxyClassLoaderFactory.java.

                                             {
            super(documentURLs);
            if (data != null) {
                Class proxyClass = defineClass("netscape.oji.LiveConnectProxy",
                                               data, 0, data.length,
                                               new CodeSource(documentURLs[0], null));
                debug("ProxyClassLoader: defined LiveConnectProxy class.");
                debug("Here're the permisssions you've got:");
                debug(proxyClass.getProtectionDomain().getPermissions().toString());
            } else {
                debug("ProxyClassLoader: failed to define LiveConnectProxy class.");
            }
        }

Here is the call graph for this function:


Member Data Documentation

byte [] netscape.oji.ProxyClassLoaderFactory.ProxyClassLoader.data = getMRJPluginClassFile("netscape/oji/LiveConnectProxy.class") [static, private]

Definition at line 84 of file ProxyClassLoaderFactory.java.


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