Example usage for org.apache.commons.pool KeyedPoolableObjectFactory interface-usage

List of usage examples for org.apache.commons.pool KeyedPoolableObjectFactory interface-usage

Introduction

In this page you can find the example usage for org.apache.commons.pool KeyedPoolableObjectFactory interface-usage.

Usage

From source file org.janusgraph.diskstorage.cassandra.thrift.thriftpool.CTConnectionFactory.java

/**
 * A factory compatible with Apache commons-pool for Cassandra Thrift API
 * connections.
 *
 * @author Dan LaRocque <dalaro@hopcount.org>
 */

From source file org.mule.security.oauth.BaseOAuthClientFactory.java

public abstract class BaseOAuthClientFactory implements KeyedPoolableObjectFactory<String, OAuth2Adapter> {

    private static transient Logger logger = LoggerFactory.getLogger(BaseOAuthClientFactory.class);
    private static transient Map<String, PropertyDescriptor> oauthStateProperties = new HashMap<String, PropertyDescriptor>();

    static {