Re: [api-dev] Jobs

2006-11-09 Thread Andreas Schlüns

Tabish F. Mufti schrieb:

I read in the developer guide Chapter 4 under Jobs:

"A central problem of external components in OpenOffice.org is their
lifetime control. Every external component must deal with the possibility
that the environment will terminate. It is not efficient to implement
lifetime strategies in every job, so the job execution environment takes
care of this problem. "


Can I get any java example related to this ?



By the way: if you have a look on the image "4.2: Processing command 
URLs and the job execution environment" of the DevelopersGuide it should 
be clear how the job execution service works. It's part of the dispatch 
queue and prevents frame/desktop service(s) from closing or termination.


Regards
Andreas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [api-dev] Jobs

2006-11-08 Thread Andreas Schlüns

Tabish F. Mufti schrieb:

I read in the developer guide Chapter 4 under Jobs:

"A central problem of external components in OpenOffice.org is their
lifetime control. Every external component must deal with the possibility
that the environment will terminate. It is not efficient to implement
lifetime strategies in every job, so the job execution environment takes
care of this problem. "



Can I get any java example related to this ?


???
The job execution service of OOo make this. Why do you wish to know
how it works. You wish to implement a job -  not to reimplement the 
existing job execution service - right ?


But if you need the source code of the DevelopersGuide examples ...
you should have a look here:
"http://api.openoffice.org/source/browse/api/odk/examples/DevelopersGuide";

... AddOn examples here:
"http://api.openoffice.org/source/browse/api/odk/examples/DevelopersGuide/Components/Addons";

... and Jobs here:
"http://api.openoffice.org/source/browse/api/odk/examples/DevelopersGuide/Components/Addons/JobsAddon";

Regards
Andreas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-dev] Jobs

2006-11-08 Thread Tabish F. Mufti

I read in the developer guide Chapter 4 under Jobs:

"A central problem of external components in OpenOffice.org is their
lifetime control. Every external component must deal with the possibility
that the environment will terminate. It is not efficient to implement
lifetime strategies in every job, so the job execution environment takes
care of this problem. "


Can I get any java example related to this ?