if (log.isDebugEnabled()) {
log.debug("parseTLDFile( " + url.toString() + " ): Entry");
}
try {
InputStream in = null;
TldTaglib tl;
try {
in = url.openStream();
tl = (TldTaglib) JaxbJavaee.unmarshalTaglib(TldTaglib.class, in);
} finally {
IOUtils.close(in);
}
// Get all the listeners from the TLD file
for (Listener listener : tl.getListener()) {
String className = listener.getListenerClass();
if (!excludedListenerNames.contains(className)) {
try {
Class<?> clas = bundle.loadClass(className);
while (clas != null) {
classes.add(clas);
clas = clas.getSuperclass();
}
listenerNames.add(className);
} catch (ClassNotFoundException e) {
log.warn("JspModuleBuilderExtension: Could not load listener class: " + className + " mentioned in TLD file at " + url.toString());
}
}
}
// Get all the tags from the TLD file
for (Tag tag : tl.getTag()) {
String className = tag.getTagClass();
try {
Class<?> clas = bundle.loadClass(className);
while (clas != null) {
classes.add(clas);