1 26 27 package org.objectweb.jonas_lib.loader; 28 29 import java.io.IOException ; 30 import java.net.URL ; 31 32 37 public class ClientClassLoader extends AbsModuleClassLoader { 38 39 40 private static final String CLASSES_DIRECTORY = ""; 41 42 43 private static final String WSDL_DIRECTORY = "META-INF/wsdl/"; 44 45 52 public ClientClassLoader(URL module) throws IOException { 53 super(new URL []{module}); 54 } 55 56 64 public ClientClassLoader(URL module, ClassLoader parent) throws IOException { 65 super(new URL []{module}, parent); 66 } 67 68 74 protected void init() throws IOException { 75 super.init(); 76 addInRepository(CLASSES_DIRECTORY); 77 addContentInRepository(WSDL_DIRECTORY); 78 } 79 } 80 | Popular Tags |