List of usage examples for org.apache.commons.pool MethodCall getName
public String getName()
From source file:edu.illinois.enforcemop.examples.apache.pool.TestObjectPool.java
static void removeDestroyObjectCall(List calls) { Iterator iter = calls.iterator(); while (iter.hasNext()) { MethodCall call = (MethodCall) iter.next(); if ("destroyObject".equals(call.getName())) { iter.remove();/* w w w. j ava 2 s .c o m*/ } } }