Logo Search packages:      
Sourcecode: icedtea-web version File versions  Download package

net::sourceforge::jnlp::runtime::JNLPClassLoader::JNLPClassLoader ( JNLPFile  file,
UpdatePolicy  policy 
) throws LaunchException [inline, protected]

Create a new JNLPClassLoader from the specified file.

Parameters:
file the JNLP file

Definition at line 153 of file JNLPClassLoader.java.

References file, net::sourceforge::jnlp::JNLPFile::getFileLocation(), net::sourceforge::jnlp::JNLPFile::getResources(), initializeExtensions(), initializePermissions(), initializeResources(), installShutdownHooks(), resources, setSecurity(), and updatePolicy.

Referenced by getInstance().

                                                                                         {
        super(new URL[0], JNLPClassLoader.class.getClassLoader());

        if (JNLPRuntime.isDebug())
            System.out.println("New classloader: "+file.getFileLocation());

        this.file = file;
        this.updatePolicy = policy;
        this.resources = file.getResources();

        // initialize extensions
        initializeExtensions();

        // initialize permissions
        initializePermissions();

        initializeResources();

        setSecurity();

        installShutdownHooks();

    }


Generated by  Doxygen 1.6.0   Back to index