:: com :: sun :: star :: uno ::
|
interface XUnloadingPreference |
|
- Description
- Components can implement
XUnloadingPreference in order to indicate
how they should be treated when their hosting library is to be unloaded.
When someone calls rtl_unloadUnusedModules then the unloading
listeners are notified by calling previously registered callback
functions. A listener is an entity that employs, registers, and
unregisters the callback functions on its behalf. Upon notification
(the callback function is being called)
a listener may release references to UNO components. Thus, the
loaded libraries can be unloaded, if no one else keeps any
objects from the library alive.
Before a listener releases references, it should ask for this interface.
If the interface is not implemented, then the listener may release the
object; otherwise, it calls releaseOnNotification . If the function
returns false then the listener should keep the reference, otherwise
it may release it.
|
Methods' Summary |
releaseOnNotification |
The return value determines if the object wants to stay
alive in case of an unloading procedure.
|
Methods' Details |
releaseOnNotification
boolean |
releaseOnNotification(); |
- Description
- The return value determines if the object wants to stay
alive in case of an unloading procedure.
- Returns
- falsedo not release references to this object,otherwise
true
|
|
Top of Page
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.