|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--com.bea.jvm.event.FinalizationEvent
Event delivered when an Object has been finalized.
NOTE: While this event and the Object it wraps are alive, actual garbage collection of the Object is prevented
| Field Summary |
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
FinalizationEvent(java.lang.Object finalizedObject)
Constructor. |
|
FinalizationEvent(java.lang.Object finalizedObject,
java.lang.Throwable causeOfFailure)
Constructor. |
|
| Method Summary | |
boolean |
finalizerFailed()
Returns true if an exception was thrown in the finalizer. |
java.lang.Throwable |
getCauseOfFailure()
Returns the throwable that caused the finalizer to fail, or null if everything went fine. |
java.lang.Object |
getObject()
Returns a reference to the Object that was finalized. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FinalizationEvent(java.lang.Object finalizedObject)
finalizedObject - the object being finalized.
public FinalizationEvent(java.lang.Object finalizedObject,
java.lang.Throwable causeOfFailure)
finalizedObject - the object being finalized.causeOfFailure - the exception that caused the finalizer to fail.| Method Detail |
public java.lang.Object getObject()
public boolean finalizerFailed()
public java.lang.Throwable getCauseOfFailure()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||