Projects
Mega:23.09
felix-osgi-compendium
_service:tar_scm:0005-Add-getResourceURL-method...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0005-Add-getResourceURL-method-to-make-jbosgi-framework-h.patch of Package felix-osgi-compendium
From d9df4679129efdc654b44213fb33abd7ac042e81 Mon Sep 17 00:00:00 2001 From: Marek Goldmann <goldmann@fedoraproject.org> Date: Tue, 3 Jul 2012 18:43:17 +0200 Subject: [PATCH 5/5] Add getResourceURL method to make jbosgi-framework happy... --- src/main/java/org/osgi/util/xml/XMLParserActivator.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/osgi/util/xml/XMLParserActivator.java b/src/main/java/org/osgi/util/xml/XMLParserActivator.java index 963c092..85f9f56 100644 --- a/src/main/java/org/osgi/util/xml/XMLParserActivator.java +++ b/src/main/java/org/osgi/util/xml/XMLParserActivator.java @@ -165,6 +165,10 @@ public class XMLParserActivator implements BundleActivator, ServiceFactory { .getResource(DOMCLASSFILE))); } + protected URL getResourceURL(Bundle parserBundle, String resname) { + return parserBundle.getResource(resname); + } + /** * This method has nothing to do as all active service registrations will * automatically get unregistered when the bundle stops. -- 1.7.10.4
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2