On Mon, Sep 29, 2008 at 1:38 PM, David Leangen <[EMAIL PROTECTED]> wrote:
> I have a third party jar that I want to wrap and provide as a bundle. In > that jar, there is no way of injecting a parser that originates from the > OSGi XML Parser service. > > What is the best way of handling this case? > > > Also, with respect to transformers, in that same code there is a line > like this: > > TransformerFactory factory = TransformerFactory.newInstance(); > > Again, this does not allow me to inject. How should I handle that? AFAICT, (assuming you are running Java SE 1.4 or later) you should only need to import a bunch of packages, and make sure that the Framework indeed export those. BND should be able to give you full coverage on what is needed, but a starting point would be; javax.xml.* org.xml.sax org.w3c.dom Cheers Niclas _______________________________________________ OSGi Developer Mail List osgi-dev@mail.osgi.org https://mail.osgi.org/mailman/listinfo/osgi-dev