org.ow2.petals.binding.soap.util
Class SoapSUClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.ow2.petals.binding.soap.util.SoapSUClassLoader
public class SoapSUClassLoader
- extends URLClassLoader
A Specific SOAP Service Unit ClassLoader, in order to find classes contained
in the modules engaged with the services
- Author:
- cgirodengo
|
Method Summary |
protected Class<?> |
findClass(String name)
Overrides the URLClassLoader's findClass method by searching in the
modules ClassLoaders of the SU if the class was not found |
| Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, 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 |
SoapSUClassLoader
public SoapSUClassLoader(URL[] urls,
List<ClassLoader> modulesClassLoaders,
ClassLoader parent)
- SoapSUClassLoader is extended from URLClassLoader. The constructor does
not override the super constructor, but takes in addition a list of
modules ClassLoader to check
- Parameters:
urls - URLsmodulesClassLoaders - the Modules ClassLoadersparent - parent classloader ClassLoader
findClass
protected Class<?> findClass(String name)
throws ClassNotFoundException
- Overrides the URLClassLoader's findClass method by searching in the
modules ClassLoaders of the SU if the class was not found
- Overrides:
findClass in class URLClassLoader
- Parameters:
name - the name of the class
- Returns:
- the resulting class
- Throws:
ClassNotFoundException - if the class could not be found
Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.