Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: uno ::

interface XAdapter
Description
This is the server-side interface to a weak adapter.

The implementation of XAdapter must know but not hold the adapted object, because it must not affect the lifetime of the adapted object.

See also
XWeak
for description of concepts.

Methods' Summary
queryAdapted queries the adapted object if it is alive.  
addReference adds a reference to the adapter.  
removeReference removes a reference from the adapter.  
Methods' Details
queryAdapted
XInterface
queryAdapted();

Description
queries the adapted object if it is alive.
addReference
void
addReference( [in] XReference  xRef );

Description
adds a reference to the adapter.

All added references are called when the adapted object dies.

removeReference
void
removeReference( [in] XReference  xRef );

Description
removes a reference from the adapter.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.