// Create the bundle resolve/uninstall listener
installListener = createBundleInstallListener();
}
private URLStreamHandlerTracker createURLStreamHandlerTracker(ModuleContext moduleContext) {
URLStreamHandlerTracker tracker = new URLStreamHandlerTracker(moduleContext) {
private Map<ServiceReference<?>, ServiceRegistration<?>> registrations = new HashMap<>();
@Override
protected void addingHandler(String protocol, ServiceReference<URLStreamHandler> sref, final URLStreamHandler handler) {