LibreOffice
LibreOffice 24.2 SDK API Reference
|
specifies a job which is to be executed synchronously More...
import"XJob.idl";
Public Member Functions | |
any | execute ([in] sequence< com::sun::star::beans::NamedValue > Arguments) raises ( com::sun::star::lang::IllegalArgumentException , com::sun::star::uno::Exception ) |
executes the job synchronously More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
specifies a job which is to be executed synchronously
Instead of XAsyncJob the implementation of this interface will be executed synchronously every time. That means: they can be sure that the current stack context will be blocked till this job finish it's work.
any execute | ( | [in] sequence< com::sun::star::beans::NamedValue > | Arguments | ) | |
raises | ( | com::sun::star::lang::IllegalArgumentException , | |||
com::sun::star::uno::Exception | |||||
) |
executes the job synchronously
Arguments | are arguments for executing the job. Their semantics is completely implementation dependent. Usually, a concrete implementation of a job specifies in its service descriptions which parameters are allowed (or expected). This values are persistent by the configuration of theJobExecutor which use this synchronous job. It's possible to write it back by use special protocol in return value. |
com::sun::star::lang::IllegalArgumentException | if some of given arguments doesn't fill out the service specification or was corrupt so the service couldn't work correctly |
com::sun::star::uno::Exception | to notify the executor about failed operation; otherwise the return value indicates a successful finishing. |