Hello myself, >> createInstanceWithArgumentsAndContext is the way you have to go to >> instantiate such a service in Basic. > > Not really.
Argh. Jürgen, you're right. Actually I was confused by the "service constructors use XInitialization" which I have in my head, and assumed they do this *explicitly*. In fact, it seems a service constructor implementation uses the createInstanceWithArguments[AndContext] itself, which then uses XInitialization. Means that using createInstanceWithArguments[AndContext] is future-proof, even if implementations of dedicated factories change. Sorry for spreading the confusion. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]