|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.ref.Reference<T>
java.lang.ref.WeakReference
org.objectweb.carol.cmi.WeakRef
public abstract class WeakRef
This WeakRef
is a WeakReference
has its method
remove()
called when the corresponding object has been
garbage collected.
Constructor Summary | |
---|---|
WeakRef(java.lang.Object obj)
Creates a new WeakRef instance |
Method Summary | |
---|---|
protected abstract void |
remove()
Remove the current instance |
Methods inherited from class java.lang.ref.Reference |
---|
clear, enqueue, get, isEnqueued |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WeakRef(java.lang.Object obj)
obj
- objectMethod Detail |
---|
protected abstract void remove()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |