|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.util.pool.RecyclableSupport
A support class for recyclable objects implementing default methods.
Constructor Summary | |
RecyclableSupport()
|
Method Summary | |
void |
dispose()
Disposes the object by setting its disposed flag. |
protected boolean |
doDispose()
A convenience method allowing a clever recyclable object to put itself into a pool for recycling. |
boolean |
isDisposed()
Checks whether the object is disposed. |
void |
Recyclable()
Constructs a new recyclable support and calls the default recycle method. |
void |
recycle()
Recycles the object by removing its disposed flag. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RecyclableSupport()
Method Detail |
public void Recyclable()
public void recycle()
recycle
in interface Recyclable
public void dispose()
dispose
in interface Recyclable
public boolean isDisposed()
isDisposed
in interface Recyclable
protected boolean doDispose()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |