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.
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)
Method of XTypeProvider. It returns an array of Type objects which represent
all implemented UNO interfaces of this object.
Specified by:
getTypes in interface com.sun.star.lang.XTypeProvider
Returns:
Type objects of all implemented interfaces.
getImplementationId
public byte[] getImplementationId()
Method of XTypeProvider. It provides an identifier that represents the set of UNO
interfaces implemented by this class. All instances of this class
which run in the same Java Virtual Machine return the same array. (This only works as long
the ClassLoader preserves the class even if no instance exist.)
Specified by:
getImplementationId in interface com.sun.star.lang.XTypeProvider