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

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

Introduction

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

Usage

From source file org.asqatasun.sebuilder.tools.FirefoxDriverPoolableObjectFactory.java

/**
 * Implementation of FirefoxDriver poolable factory. Each instance of 
 * webDriver is instanciated with the value of the display when passed as 
 * JVM argument, with an implicit wait driver timeout (set by spring configuration)
 * and an page load driver timeout(set by spring configuration)
 * 

From source file org.kchine.rpf.reg.ServantsProxyFactoryReg.java

/**
 * @author Karim Chine karim.chine@m4x.org
 */
public class ServantsProxyFactoryReg implements PoolableObjectFactory {
    private Vector<ManagedServant> servantsInUse = new Vector<ManagedServant>();

From source file org.wso2.carbon.transport.http.netty.sender.channel.pool.PoolableTargetChannelFactory.java

/**
 * A class which creates a TargetChannel pool for each route.
 */
public class PoolableTargetChannelFactory implements PoolableObjectFactory {

    private static final Logger log = LoggerFactory.getLogger(PoolableTargetChannelFactory.class);

From source file org.speechforge.cairo.util.pool.AbstractPoolableObjectFactory.java

/**
 * Generic implementation of {@code org.apache.commons.pool.PoolableObjectFactory} which constructs
 * {@link org.speechforge.cairo.util.pool.PoolableObject} instances and delegates all object pool
 * life-cycle methods to the pooled objects themselves.
 *
 * @author Niels Godfredsen {@literal <}<a href="mailto:ngodfredsen@users.sourceforge.net">ngodfredsen@users.sourceforge.net</a>{@literal >}

From source file edu.illinois.imunit.examples.apache.pool.MethodCallPoolableObjectFactory.java

/**
 * A poolable object factory that tracks how {@link MethodCall methods are called}.
 *
 * @author Sandy McArthur
 * @version $Revision: 606064 $ $Date: 2007-12-20 19:12:02 -0500 (Thu, 20 Dec 2007) $
 * @see MethodCall

From source file com.spokentech.speechdown.server.util.pool.AbstractPoolableObjectFactory.java

/**
 * Generic implementation of {@code org.apache.commons.pool.PoolableObjectFactory} which constructs
 * {@link com.spokentech.speechdown.server.util.pool.PoolableObject} instances and delegates all object pool
 * life-cycle methods to the pooled objects themselves.
 *
 * @author Niels Godfredsen {@literal <}<a href="mailto:ngodfredsen@users.sourceforge.net">ngodfredsen@users.sourceforge.net</a>{@literal >}

From source file org.springframework.aop.target.CommonsPoolTargetSource.java

/**
 * {@link org.springframework.aop.TargetSource} implementation that holds
 * objects in a configurable Apache Commons Pool.
 *
 * <p>By default, an instance of {@code GenericObjectPool} is created.
 * Subclasses may change the type of {@code ObjectPool} used by

From source file org.helios.collector.jmx.connection.IMBeanServerConnectionFactory.java

/**
 * <p>Title: MBeanServerConnectionFactory</p>
 * <p>Description: Interface for MBeanServerConnectionFactory</p> 
 * <p>Company: Helios Development Group</p>
 * @author Sandeep Malhotra (smalhotra@heliosdev.org)
 */

From source file org.jvoicexml.implementation.pool.PoolableResourceFactory.java

/**
 * Factory, which manages a pool of {@link ResourceFactory}s of type
 * <code>T</code>.
 *
 * @author Dirk Schnelle-Walka
 * @version $Revision$

From source file org.openanzo.security.ldap.LdapConnectionFactory.java

/**
 * @author Matthew Roy ( <a href="mailto:mroy@cambridgesemantics.com">mroy@cambridgesemantics.com</a>)
 */
public class LdapConnectionFactory implements PoolableObjectFactory {
    private static final Logger log = LoggerFactory.getLogger(LdapConnectionFactory.class);