Example usage for org.apache.commons.pool ObjectPool toString

List of usage examples for org.apache.commons.pool ObjectPool toString

Introduction

In this page you can find the example usage for org.apache.commons.pool ObjectPool toString.

Prototype

public String toString() 

Source Link

Document

Returns a string representation of the object.

Usage

From source file:edu.illinois.enforcemop.examples.apache.pool.TestObjectPool.java

public void testToString() {
    ObjectPool pool;
    try {/*from  w w w . j a  va  2  s  .  co m*/
        pool = makeEmptyPool(new MethodCallPoolableObjectFactory());
    } catch (UnsupportedOperationException uoe) {
        return; // test not supported
    }
    pool.toString();
}