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