(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: reflection ::

deprecated interface XProxyFactory
Usage Restrictions
deprecated
Deprecation Info
Aggregation will no longer be supported as a high-level concept of UNO. You may still have the option to implement an UNO object consisting of several single objects in your specific programming language, though this depends on your programming language. Thus this interface is deprecated, too.
Description
Factory interface to produce proxy objects.

Methods' Summary
createProxy This method creates a new proxy object that acts on behalf of the given target object.
The proxy delegates calls to the given target object. In addition, it is aggregatable, thus it is possible to intercept calls on the proxy's interfaces. @attention The 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.  
Methods' Details
createProxy
::com::sun::star::uno::XAggregation
createProxy( [in] ::com::sun::star::uno::XInterface  xTarget );

Description
This method creates a new proxy object that acts on behalf of the given target object.
The proxy delegates calls to the given target object. In addition, it is aggregatable, thus it is possible to intercept calls on the proxy's interfaces. @attention The 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.
Parameter xTarget
target object
Returns
proxy object
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.