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