Map<String, Bundle> tldLocationBundleMap = getTldFiles(webApp, webModule);
LinkedHashSet<Class<?>> classes = getListenerClasses(webApp, webModule, tldLocationBundleMap, listenerNames);
AbstractFinder originalClassFinder = webModule.getClassFinder();
ClassFinder classFinder = new ClassFinder(new ArrayList<Class<?>>(classes));
webModule.setClassFinder(classFinder);
namingBuilders.buildNaming(webApp, jettyWebApp, webModule, buildingContext);
webModule.setClassFinder(originalClassFinder);
//only try to install it if reference will work.