psl.worklets
Class WVM_ClassLoader

java.lang.Object
  |
  +--java.lang.ClassLoader
        |
        +--java.security.SecureClassLoader
              |
              +--java.net.URLClassLoader
                    |
                    +--psl.worklets.WVM_ClassLoader

class WVM_ClassLoader
extends java.net.URLClassLoader

WVM associated Class Loader


Nested Class Summary
private  class WVM_ClassLoader.URLSet
          Container to hold the ClassLoader's URLs
 
Nested classes inherited from class java.lang.ClassLoader
 
Field Summary
private  WVM_ClassLoader.URLSet _urlSet
          URLSet holding the list of URLs
private  psl.worklets.WVM_SSLSocketFactory _WVM_sf
          socket factory to use, if not null
 
Fields inherited from class java.net.URLClassLoader
 
Fields inherited from class java.security.SecureClassLoader
 
Fields inherited from class java.lang.ClassLoader
 
Constructor Summary
(package private) WVM_ClassLoader(java.net.URL[] urls)
          Creates a plain WVM_ClassLoader to load the given URLs
(package private) WVM_ClassLoader(java.net.URL[] urls, psl.worklets.WVM_SSLSocketFactory wvm_sf)
          Creates a WVM_ClassLoader to load the given URLs with the given SocketFactory
 
Method Summary
 void addCodebase(java.net.URL[] urls)
          Adds the given array of URLs to the codebase
 java.lang.Class findClass(java.lang.String name)
          Finds the given class
 java.net.URL findResource(java.lang.String name)
          Finds the URL of the given resource
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findResources, getPermissions, getURLs, newInstance, newInstance
 
Methods inherited from class java.security.SecureClassLoader
defineClass
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_urlSet

private final WVM_ClassLoader.URLSet _urlSet
URLSet holding the list of URLs


_WVM_sf

private psl.worklets.WVM_SSLSocketFactory _WVM_sf
socket factory to use, if not null

Constructor Detail

WVM_ClassLoader

WVM_ClassLoader(java.net.URL[] urls)
Creates a plain WVM_ClassLoader to load the given URLs


WVM_ClassLoader

WVM_ClassLoader(java.net.URL[] urls,
                psl.worklets.WVM_SSLSocketFactory wvm_sf)
Creates a WVM_ClassLoader to load the given URLs with the given SocketFactory

Method Detail

findClass

public java.lang.Class findClass(java.lang.String name)
                          throws java.lang.ClassNotFoundException
Finds the given class

Overrides:
findClass in class java.net.URLClassLoader
Returns:
the Class, if found
Throws:
java.lang.ClassNotFoundException - if the given class could not be found

findResource

public java.net.URL findResource(java.lang.String name)
Finds the URL of the given resource

Overrides:
findResource in class java.net.URLClassLoader
Returns:
URL of the resource

addCodebase

public void addCodebase(java.net.URL[] urls)
Adds the given array of URLs to the codebase