org.ow2.jonas.lib.loader
Class ClientClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.ow2.jonas.lib.loader.AbsModuleClassLoader
org.ow2.jonas.lib.loader.ClientClassLoader
public class ClientClassLoader
- extends AbsModuleClassLoader
ClassLoader used for loading Client classes and resources
- Author:
- Guillaume Sauthier
Method Summary |
protected void |
init()
Add the directory and the content of
META-INF/wsdl/ in the ClassLoader. |
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 |
ClientClassLoader
public ClientClassLoader(URL module)
throws IOException
- Create a new ClientClassLoader with default parent ClassLoader
- Parameters:
module
- an URL of Client files
- Throws:
IOException
- if creation fails
ClientClassLoader
public ClientClassLoader(URL module,
ClassLoader parent)
throws IOException
- Create a new ClientClassLoader with specified parent ClassLoader
- Parameters:
module
- an URL of Client filesparent
- the parent ClassLoader to use
- Throws:
IOException
- if creation fails
ClientClassLoader
public ClientClassLoader(URL[] modules,
ClassLoader parent)
throws IOException
- Create a new ClientClassLoader with specified parent ClassLoader
- Parameters:
modules
- an URL[] of Client files + dependenciesparent
- the parent ClassLoader to use
- Throws:
IOException
- if creation fails
init
protected void init()
throws IOException
- Add the directory and the content of
META-INF/wsdl/ in the ClassLoader.
- Overrides:
init
in class AbsModuleClassLoader
- Throws:
IOException
- When initialisation fails.
Copyright © 2010 OW2 Consortium. All Rights Reserved.