The Free and Open Productivity Suite
QA Volunteers Needed -- Help us test OpenOffice

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for Apache OpenOffice version 3.4.

:: 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 Feather

Copyright & License | Privacy | Contact Us | Donate

Apache, the Apache feather logo, and OpenOffice 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.