|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.excalibur.mpool.PoolUtil
The PoolUtil class performs the reflection magic that is necessary to work with the legacy Recyclable interface in the Pool package. It also works with the new Resettable interface in MPool.
Method Summary | |
static java.lang.Object |
recycle(java.lang.Object obj)
This method will either call "reset" on Resettable objects, or it will call "recycle" on Recyclable objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.Object recycle(java.lang.Object obj)
obj
- The object you want recycled.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |