Blame SOURCES/0005-Add-getResourceURL-method-to-make-jbosgi-framework-h.patch

30c923
From d9df4679129efdc654b44213fb33abd7ac042e81 Mon Sep 17 00:00:00 2001
30c923
From: Marek Goldmann <goldmann@fedoraproject.org>
30c923
Date: Tue, 3 Jul 2012 18:43:17 +0200
30c923
Subject: [PATCH 5/5] Add getResourceURL method to make jbosgi-framework
30c923
 happy...
30c923
30c923
---
30c923
 src/main/java/org/osgi/util/xml/XMLParserActivator.java |    4 ++++
30c923
 1 file changed, 4 insertions(+)
30c923
30c923
diff --git a/src/main/java/org/osgi/util/xml/XMLParserActivator.java b/src/main/java/org/osgi/util/xml/XMLParserActivator.java
30c923
index 963c092..85f9f56 100644
30c923
--- a/src/main/java/org/osgi/util/xml/XMLParserActivator.java
30c923
+++ b/src/main/java/org/osgi/util/xml/XMLParserActivator.java
30c923
@@ -165,6 +165,10 @@ public class XMLParserActivator implements BundleActivator, ServiceFactory {
30c923
 				.getResource(DOMCLASSFILE)));
30c923
 	}
30c923
 
30c923
+	protected URL getResourceURL(Bundle parserBundle, String resname) {
30c923
+		return parserBundle.getResource(resname);
30c923
+	}
30c923
+
30c923
 	/**
30c923
 	 * This method has nothing to do as all active service registrations will
30c923
 	 * automatically get unregistered when the bundle stops.
30c923
-- 
30c923
1.7.10.4
30c923