com.sun.star.lib.uno.helper
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Field Summary | |
|---|---|
protected static Map |
_mapImplementationIds
|
protected static Map |
_mapTypes
|
| Fields inherited from interface com.sun.star.uno.XWeak |
|---|
UNOTYPEINFO |
| Fields inherited from interface com.sun.star.lang.XTypeProvider |
|---|
UNOTYPEINFO |
| Constructor Summary | |
|---|---|
WeakBase()
|
|
| Method Summary | |
|---|---|
protected void |
finalize()
Override of Object.finalize. |
byte[] |
getImplementationId()
Method of XTypeProvider. |
Type[] |
getTypes()
Method of XTypeProvider. |
XAdapter |
queryAdapter()
Method of XWeak. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
_mapImplementationIds
protected static Map _mapImplementationIds
_mapTypes
protected static Map _mapTypes
| Constructor Detail |
|---|
WeakBase
public WeakBase()
| Method Detail |
|---|
queryAdapter
public XAdapter queryAdapter()
- Method of XWeak. The returned XAdapter implementation can be used to keap
a weak reference to this object.
- Specified by:
queryAdapterin interfaceXWeak
- Returns:
- a com.sun.star.uno.XAdapter implementation.
finalize
protected void finalize()
throws Throwable
- 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)
- Throws:
Throwable
getTypes
public Type[] getTypes()
- Method of XTypeProvider. It returns an array of Type objects which represent
all implemented UNO interfaces of this object.
- Specified by:
getTypesin interfaceXTypeProvider
- 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:
getImplementationIdin interfaceXTypeProvider
- Returns:
- identifier as array of bytes
|
UDK 3.2.7 Java API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
com.sun.star.lib.uno.helper.WeakBase
