Package com.sun.star.uno
Class WeakReference
java.lang.Object
com.sun.star.uno.WeakReference
This class holds weak reference to an object.
It actually holds a reference to a com.sun.star.XAdapter
implementation and obtains a hard reference if necessary.
-
Constructor Summary
ConstructorDescriptionCreates an instance of this class.WeakReference
(Object obj) Creates an instance of this class. -
Method Summary
-
Constructor Details
-
WeakReference
Creates an instance of this class.- Parameters:
obj
- another instance that is to be copied.
-
WeakReference
Creates an instance of this class.- Parameters:
obj
- XWeak implementation.
-
-
Method Details
-
get
Returns a hard reference to the object that is kept weak by this class.- Returns:
- a hard reference to the XWeak implementation.
-