Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XAdapter

Base Interface
com::sun::star::uno::XInterface

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 decription af 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
 
com::sun::star::uno::XInterface
queryAdapted();
Description
queries the adapted object if it is alive.
addReference
 
void
addReference(
[ in ] com::sun::star::uno::XReference xRef );

Description
adds a reference to the adapter.

All added references are called when the adapted object dies.

removeReference
 
void
removeReference(
[ in ] com::sun::star::uno::XReference xRef );

Description
removes a reference from the adapter.

Top of Page