com.wles
Class WebservicesClassLoader

java.lang.Object
  extended byjava.lang.ClassLoader
      extended byjava.security.SecureClassLoader
          extended byjava.net.URLClassLoader
              extended bycom.wles.WebservicesClassLoader

public class WebservicesClassLoader
extends java.net.URLClassLoader

A class loader implementation that can load classes from old ALES/Weblogic webservice stack. Unlike most class loaders, this class loader attempts to load classes before delegating to the parent classloader. Hence it does the Inverse of what a standard URLClassLoader does.


Method Summary
static WebservicesClassLoader getInstance(java.lang.ClassLoader parent)
           
 java.lang.Class loadClass(java.lang.String name, boolean resolve)
           
 
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
 

Method Detail

getInstance

public static WebservicesClassLoader getInstance(java.lang.ClassLoader parent)
                                          throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

loadClass

public java.lang.Class loadClass(java.lang.String name,
                                 boolean resolve)
                          throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException


Copyright © 2004-2008, Oracle and/or its affiliates. All rights reserved.