Re: [api-dev] Can I use XDispatchProviderInterceptor in an extension?

2008-04-29 Thread Mathias Bauer
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

Re: [api-dev] Can I use XDispatchProviderInterceptor in an extension?

2008-04-28 Thread Mathias Bauer
Giuseppe Castagno wrote: Hi all, I'd like to intercept some dispatch commands (as .uno:Save for example) from inside an extension, using Java. Is it possible to use a XDispatchProviderInterceptor interface for that, intercepting the dispatch command before it is sent to the right

Re: [api-dev] Can I use XDispatchProviderInterceptor in an extension?

2008-04-28 Thread Giuseppe Castagno
Hi Mathias, Mathias Bauer wrote: Giuseppe Castagno wrote: ... From what I've seen from the tests I carried out so far and from studying the DevGuide code examples, using a XDispatchProviderInterceptor from inside an extension doesn't seem possible. Prompted from the response I got from

Re: [api-dev] Can I use XDispatchProviderInterceptor in an extension?

2008-04-28 Thread Andreas Schlüns
Hi Giuseppe, with the Job component implemented and configured it seems to work, thanks. In the meantime, reading the documentation I found this sentence in the DevGuide [1], at the beginning: ... If both are available, the synchronous service AsyncJob is preferred by the job execution

Re: [api-dev] Can I use XDispatchProviderInterceptor in an extension?

2008-04-28 Thread Giuseppe Castagno
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