1 22 package org.jboss.system.server; 23 24 import java.net.URL ; 25 import java.net.URLClassLoader ; 26 import java.net.URLStreamHandlerFactory ; 27 28 34 public class NoAnnotationURLClassLoader 35 extends URLClassLoader 36 { 37 38 private static final URL [] EMPTY_URL_ARRAY = {}; 39 40 45 public NoAnnotationURLClassLoader(URL [] urls) 46 { 47 super(urls); 48 } 49 50 56 public NoAnnotationURLClassLoader(URL [] urls, ClassLoader parent) 57 { 58 super(urls, parent); 59 } 60 61 68 public NoAnnotationURLClassLoader(URL [] urls, ClassLoader parent, 69 URLStreamHandlerFactory factory) 70 { 71 super(urls, parent, factory); 72 } 73 74 79 public URL [] getAllURLs() 80 { 81 return super.getURLs(); 82 } 83 84 92 public URL [] getURLs() 93 { 94 return EMPTY_URL_ARRAY; 95 } 96 } 97 | Popular Tags |