LibreOffice
LibreOffice 25.8 SDK API Reference
|
Factory interface to produce instances of an implementation of a service specification. More...
import "XSingleServiceFactory.idl";
Public Member Functions | |
com::sun::star::uno::XInterface | createInstance () raises ( com::sun::star::uno::Exception ) |
Creates an instance of a service implementation. | |
com::sun::star::uno::XInterface | createInstanceWithArguments ([in] sequence< any > aArguments) raises ( com::sun::star::uno::Exception ) |
Creates an instance of a service implementation initialized with some arguments. | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. | |
void | acquire () |
increases the reference counter by one. | |
void | release () |
decreases the reference counter by one. |
Factory interface to produce instances of an implementation of a service specification.
This interface is mostly deprecated. Please use XSingleComponentFactory. However, it is still used for specific tasks, e.g. by com::sun::star::script::Invocation or com::sun::star::configuration::SimpleSetUpdate.
com::sun::star::uno::XInterface createInstance | ( | ) | ||||
raises | ( | com::sun::star::uno::Exception ) |
Creates an instance of a service implementation.
com::sun::star::uno::XInterface createInstanceWithArguments | ( | [in] sequence< any > | aArguments | ) | ||
raises | ( | com::sun::star::uno::Exception ) |
Creates an instance of a service implementation initialized with some arguments.
aArguments | arguments passed to implementation |