This class can be used as the base class for UNO components. In addition to the functionality ,which
is inherited from WeakBase, it implements com.sun.star.lang.XComponent.
Override to perform extra clean-up work. Provided for subclasses. It is
called during dispose()
postDisposing
protected void postDisposing()
Override to become notified right before the disposing action is performed.
dispose
public void dispose()
Method of XComponent. It is called by the owning client when the component is not needed
anymore. The registered listeners are notified that this method has been called.
Specified by:
dispose in interface com.sun.star.lang.XComponent
removeEventListener
public void removeEventListener(com.sun.star.lang.XEventListener xEventListener)
Method of XComponent.
Specified by:
removeEventListener in interface com.sun.star.lang.XComponent
addEventListener
public void addEventListener(com.sun.star.lang.XEventListener listener)
Specified by:
addEventListener in interface com.sun.star.lang.XComponent
Override of Object.finalize. When there are no references to this object anymore
then the garbage collector calls this method. Thereby causing the adapter object
to be notified. The adapter, in turn, notifies all listeners (com.sun.star.uno.XReference)