00001 00027 package org.objectweb.jonas_lib.loader; 00028 00029 import java.io.IOException; 00030 import java.net.URL; 00031 00037 public class EjbJarClassLoader extends AbsModuleClassLoader { 00038 00040 private static final String CLASSES_DIRECTORY = ""; 00041 00043 private static final String WSDL_DIRECTORY = "META-INF/wsdl/"; 00044 00052 public EjbJarClassLoader(URL[] modules) throws IOException { 00053 super(modules); 00054 } 00055 00064 public EjbJarClassLoader(URL[] modules, ClassLoader parent) throws IOException { 00065 super(modules, parent); 00066 } 00067 00074 protected void init() throws IOException { 00075 super.init(); 00076 addInRepository(CLASSES_DIRECTORY); 00077 addInRepository(WSDL_DIRECTORY); 00078 } 00079 }