org.apache.tomee.catalina
Class TomEEWebappLoader.TomEEClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by org.apache.tomee.catalina.TomEEWebappLoader.TomEEClassLoader
Enclosing class:
TomEEWebappLoader

public static class TomEEWebappLoader.TomEEClassLoader
extends ClassLoader


Constructor Summary
TomEEWebappLoader.TomEEClassLoader(String appId, ClassLoader appCl, ClassLoader webappCl)
           
 
Method Summary
 Enumeration<URL> getResources(String name)
          we totally override this method to be able to remove duplicated resources.
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TomEEWebappLoader.TomEEClassLoader

public TomEEWebappLoader.TomEEClassLoader(String appId,
                                          ClassLoader appCl,
                                          ClassLoader webappCl)
Method Detail

getResources

public Enumeration<URL> getResources(String name)
                              throws IOException
we totally override this method to be able to remove duplicated resources.

Overrides:
getResources in class ClassLoader
Parameters:
name -
Returns:
Throws:
IOException


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.