| java.lang.Object org.apache.turbine.util.pool.RecyclableSupport
All known Subclasses: org.apache.turbine.services.rundata.DefaultTurbineRunData, org.apache.turbine.util.parser.BaseValueParser,
RecyclableSupport | public class RecyclableSupport implements Recyclable(Code) | | A support class for recyclable objects implementing default methods.
author: Ilkka Priha version: $Id: RecyclableSupport.java 534527 2007-05-02 16:10:59Z tv $ |
Method Summary | |
public void | Recyclable() Constructs a new recyclable support and calls the default recycle method. | public 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. | public boolean | isDisposed() Checks whether the object is disposed. | public void | recycle() Recycles the object by removing its disposed flag. |
Recyclable | public void Recyclable()(Code) | | Constructs a new recyclable support and calls the default recycle method.
|
dispose | public void dispose()(Code) | | Disposes the object by setting its disposed flag.
|
doDispose | protected boolean doDispose()(Code) | | A convenience method allowing a clever recyclable object
to put itself into a pool for recycling.
true, if disposal was accepted by the pool. |
isDisposed | public boolean isDisposed()(Code) | | Checks whether the object is disposed.
true, if the object is disposed. |
recycle | public void recycle()(Code) | | Recycles the object by removing its disposed flag.
|
|
|