|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.KStaticDeleterBase
public class KStaticDeleterBase
Static deleters are used to manage static resources. They can register themselves with KGlobal. KGlobal will call destructObject() when KGlobal.deleteStaticDeleters() is called or when it the process finishes.
KStaticDeleter
,
KGlobal.registerStaticDeleter(org.kde.koala.KStaticDeleterBase)
,
KGlobal.unregisterStaticDeleter(org.kde.koala.KStaticDeleterBase)
,
KGlobal.deleteStaticDeleters()
Constructor Summary | |
---|---|
|
KStaticDeleterBase()
|
protected |
KStaticDeleterBase(java.lang.Class dummy)
|
Method Summary | |
---|---|
void |
destructObject()
Should destruct the resources managed by this KStaticDeleterBase. |
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
protected void |
finalize()
Deletes the wrapped C++ instance |
boolean |
isDisposed()
Has the wrapped C++ instance been deleted? |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected KStaticDeleterBase(java.lang.Class dummy)
public KStaticDeleterBase()
Method Detail |
---|
public void destructObject()
KGlobal.deleteStaticDeleters()
protected void finalize() throws java.lang.InternalError
finalize
in class java.lang.Object
java.lang.InternalError
public void dispose()
public boolean isDisposed()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |