[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] Extension Registry outside Equinox?
- From: Michael Greifeneder <mikegr@xxxxxxx>
- Date: Wed, 11 Mar 2009 09:49:12 +0100
- Delivered-to: email@example.com
- User-agent: KMail/1.11.1 (Linux/2.6.27-13-generic; KDE/4.2.1; i686; ; )
On Tuesday 10 March 2009 15:59:32 Stuart McCulloch wrote:
> Hi Michael,
> yes it is possible, but you need to install the SAXParserFactory as a
> before starting the registry bundle - I don't know if there's a small
> bundle in
> Equinox that will do this for you, but otherwise you could write one
> you just need to do the following in the start method:
> javax.xml.parsers.SAXParserFactory.newInstance(), null);
> once this is in place you should be able to use the registry as normal.
I tried your solution and got it working. Thanks. So I will start creating
some extension points. :)
It looks like the Apache Felix OSGI compendium implementation doesn't register
this service, because org.osgi.util.xml.XMLParserActivator isn't registered.
But this should probably be discussed on the Felix mailing list.