org.ow2.jonas.lib.loader
Class EjbJarClassLoader
java.lang.Object
java.lang.ClassLoader
java.security.SecureClassLoader
java.net.URLClassLoader
org.ow2.jonas.lib.loader.AbsModuleClassLoader
org.ow2.jonas.lib.loader.EjbJarClassLoader
public class EjbJarClassLoader
- extends AbsModuleClassLoader
ClassLoader used for loading EJB 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 |
EjbJarClassLoader
public EjbJarClassLoader(URL[] modules)
throws IOException
- Create a new EjbJarClassLoader with default parent ClassLoader
- Parameters:
modules
- an URL[] of EjbJar files
- Throws:
IOException
- if creation fails
EjbJarClassLoader
public EjbJarClassLoader(URL[] modules,
ClassLoader parent)
throws IOException
- Create a new EjbJarClassLoader with specified parent ClassLoader
- Parameters:
modules
- an URL[] of EjbJar filesparent
- 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 WEB-INF/classes and WEB-INF/wsdl directories cannot be added
in loader
Copyright © 2010 OW2 Consortium. All Rights Reserved.