org.jboss.web.tomcat.tc5
Class WebAppClassLoader
java.lang.Object
WebappClassLoader
org.jboss.web.tomcat.tc5.WebAppClassLoader
- public class WebAppClassLoader
- extends WebappClassLoader
Subclass the tomcat web app class loader to override the filter method
to exclude classes which cannot be override by the web app due to their
use in the tomcat web container/integration.
- See Also:
- Serialized Form
|
Method Summary |
protected boolean |
filter(java.lang.String name)
Overriden to filter out classes in the packages listed in the
filteredPackages settings. |
java.lang.String[] |
getFilteredPackages()
|
void |
setFilteredPackages(java.lang.String[] pkgs)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebAppClassLoader
public WebAppClassLoader()
WebAppClassLoader
public WebAppClassLoader(java.lang.ClassLoader parent)
getFilteredPackages
public java.lang.String[] getFilteredPackages()
setFilteredPackages
public void setFilteredPackages(java.lang.String[] pkgs)
filter
protected boolean filter(java.lang.String name)
- Overriden to filter out classes in the packages listed in the
filteredPackages settings.
- Parameters:
name -
- Returns:
- true if the class should be loaded from the parent class loader,
false if it can be loaded from this class loader.