creamtec.webcream.core
Class WebCreamClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by java.security.SecureClassLoader
          extended by java.net.URLClassLoader
              extended by creamtec.webcream.core.WebCreamClassLoader

public class WebCreamClassLoader
extends java.net.URLClassLoader

WebCream uses a custom class loader to isolate applications running in the same JVM. If two instances of an application had the same class loader, they would end up sharing the static data of classes, which can lead to functionality defects. WebCreamClassLoader is used for all classes specified in agent.classPath configuration property that are not found on system CLASSPATH. Each virtual application gets its own instance of WebCreamClassLoader and therefore its own static data.


Constructor Summary
WebCreamClassLoader(java.net.URL[] urls)
           
 
Method Summary
static java.net.URL[] getClassPathURLs(java.lang.String classPath)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.net.URLClassLoader
findResource, findResources, getURLs, newInstance, newInstance
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebCreamClassLoader

public WebCreamClassLoader(java.net.URL[] urls)
Method Detail

getClassPathURLs

public static java.net.URL[] getClassPathURLs(java.lang.String classPath)
                                       throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2000-2006 CreamTec LLC. All Rights Reserved.