Giuseppe Castagno wrote: > Hi Andreas, > > Andreas Schlüns wrote: >> Hi Giuseppe, >> > ... >> >> Seams to be a simple typo ... >> The sentence should be: >> "If both are available, the synchronous interface is preferred by >> the job execution environment." >> >> On the implementation side it's more easy than you think :-) >> For you there exists two possibilities to implement a job: >> a) the synchronous way using XJob or >> b) the asynchronous way using XAsynchronousJob. >> It depends from our use cases which interface should >> be used/implemented and supported by your job implementation. >> >> Sometimes it happened that a programmer decided to support BOTH >> interfaces at the same implementation. Dont ask me why ? :-) >> So I've decided to implement a mechanism which preferres one interface >> in such case - and thats the synchronous interface XJob. > > I used the synchronous way, since I need to stop the thread when doing > processing inside the Job. > > Thanks for the explanations, I updated the DevGuide.
Thanks for that. It's great that the DevGuide now is so easily accessible! I love it. :-) Kudos to Jürgen and Clayton, life has become easier for us now. Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[EMAIL PROTECTED]". I use it for the OOo lists and only rarely read other mails sent to it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
