Package com.sun.star.lib.uno.helper
Class WeakBase
java.lang.Object
com.sun.star.lib.uno.helper.WeakBase
- All Implemented Interfaces:
- XTypeProvider,- XInterface,- XWeak
- Direct Known Subclasses:
- ComponentBase
This class can be used as the base class for UNO components. It implements the capability
  to be kept weak (com.sun.star.uno.XWeak) and it implements com.sun.star.lang.XTypeProvider
  which is necessary for using the component with StarBasic.
- 
Field SummaryFieldsFields inherited from interface com.sun.star.lang.XTypeProviderUNOTYPEINFOFields inherited from interface com.sun.star.uno.XWeakUNOTYPEINFO
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
_mapTypes
 
- 
- 
Constructor Details- 
WeakBasepublic WeakBase()
 
- 
- 
Method Details- 
queryAdapterMethod of XWeak. The returned XAdapter implementation can be used to keep a weak reference to this object.- Specified by:
- queryAdapterin interface- XWeak
- Returns:
- a com.sun.star.uno.XAdapter implementation.
 
- 
finalizeOverride 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)
- 
getTypesMethod of XTypeProvider. It returns an array of Type objects which represent all implemented UNO interfaces of this object.- Specified by:
- getTypesin interface- XTypeProvider
- Returns:
- Type objects of all implemented interfaces.
 
- 
getImplementationIdpublic byte[] getImplementationId()Obsolete method of XTypeProvider.- Specified by:
- getImplementationIdin interface- XTypeProvider
 
 
-