org.d_haven.mpool
public class ReflectionRecyclePolicy extends Object implements RecyclePolicy
Field Summary | |
---|---|
static Object[] | EMPTY_PARAMS |
static Class[] | EMPTY_PARAM_DEFS |
String | m_methodName |
Constructor Summary | |
---|---|
ReflectionRecyclePolicy(String methodName)
Create the ReflectionRecyclePolicy using the supplied method name
as the magic method that gets called when an object is returned
to the pool.
|
Method Summary | |
---|---|
void | recycle(Object pooledObject)
Recycle the object included. |
String | toString() |
Parameters: methodName the name of the method to call
Parameters: pooledObject the object to recycle