Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: uno ::
interface XAdapter
  Base Hierarchy
      XInterface
       |
       +-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 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
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

Copyright © 2003 Sun Microsystems, Inc.