Example usage for org.apache.commons.pool MethodCall getName

List of usage examples for org.apache.commons.pool MethodCall getName

Introduction

In this page you can find the example usage for org.apache.commons.pool MethodCall getName.

Prototype

public String getName() 

Source Link

Usage

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*/
        }
    }
}