LibreOffice 24.2 SDK API Reference
List of all members
ProxyFactory Service Referencepublished

Service to create proxy objects acting on behalf of a given target object. More...


Inheritance diagram for ProxyFactory:
XProxyFactory XInterface

Additional Inherited Members

- Public Member Functions inherited from XProxyFactory
com::sun::star::uno::XAggregation createProxy ([in] com::sun::star::uno::XInterface xTarget)
 This method creates a new proxy object that acts on behalf of the given target object. 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...

Detailed Description

Service to create proxy objects acting on behalf of a given target object.

A proxy delegates calls to a given target object. In addition, it is aggregatable, thus it is possible to intercept calls on the proxy's interfaces.

A proxy object is UNO conform, but does NOT provide original target interfaces on queryInterface() calls. This may lead to problems regarding object identity, e.g. when dealing with listener proxies.
Aggregation will no longer be supported as a high-level concept of UNO. You may still have the option to implement a UNO object consisting of several single objects in your specific programming language, though this depends on your programming language. Thus this service is deprecated, too.

The documentation for this service was generated from the following file: