TldRegistry tldRegistry = (TldRegistry) bundleContext.getService(reference);
for (TldProvider.TldEntry entry : tldRegistry.getDependentTlds(bundle)) {
URL url = entry.getURL();
tldLocationBundleMap.put(url.toString(), entry.getBundle());
}
bundleContext.ungetService(reference);
}
return tldLocationBundleMap;
}
private LinkedHashSet<Class<?>> getListenerClasses(WebApp webApp, WebModule webModule, Map<String, Bundle> tldLocationBundleMap, Set<String> listenerNames) throws DeploymentException {