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

JNLPClassLoader net::sourceforge::jnlp::runtime::JNLPClassLoader::addNextResource (  )  [inline, protected]

Adds the next unused resource to the classloader. That resource and all those in the same part will be downloaded and added to the classloader before returning. If there are no more resources to add, the method returns immediately.

the classloader that resources were added to, or null

Definition at line 1142 of file JNLPClassLoader.java.

References activateJars(), addNextResource(), available, fillInPartJars(), and loaders.

Referenced by addNextResource(), and loadClassExt().

        if (available.size() == 0) {
            for (int i=1; i < loaders.length; i++) {
                JNLPClassLoader result = loaders[i].addNextResource();

                if (result != null)
                    return result;
            return null;

        // add jar
        List jars = new ArrayList();



        return this;

Generated by  Doxygen 1.6.0   Back to index