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.deegree.tile.persistence.geotiff.ImageReaderFactory.java

/**
 * <code>ImageReaderFactory</code>: an object factory for commons-pool. It should really be replaced with a better
 * solution, not using generics here (and throwing Exception) is not the way to go...
 * 
 * @author <a href="mailto:schmitz@occamlabs.de">Andreas Schmitz</a>
 * @author last edited by: $Author: mschneider $

From source file org.sakaiproject.kernel.ldap.PooledLDAPConnectionFactory.java

/**
 * An object factory for managing <code>PooledLDAPConnection<code>s
 * within the commons-pool library.  Handles creating, configuring,
 * connecting, securing, and binding the connections as they pass
 * in and out of the pool.
 *

From source file org.alfresco.wcm.client.util.impl.GuestSessionFactoryImpl.java

/**
 * GuestSessionFactoryImpl implements a PoolableObjectFactory for use with an
 * apache commons GenericObjectPool. The class creates and destroys CMIS
 * sessions. It uses a thread which periodically tries to reach the repository.
 * This allows for the repository not being available at application start-up
 * without re-trying on every request.

From source file edu.amc.sakai.user.PooledLDAPConnectionFactory.java

/**
 * An object factory for managing <code>PooledLDAPConnection<code>s
 * within the commons-pool library.  Handles creating, configuring,
 * connecting, securing, and binding the connections as they pass
 * in and out of the pool. 
 * @see LdapConnectionManager

From source file org.mobicents.slee.runtime.sbb.SbbObjectPoolFactory.java

/**
 * Implements the methods invoked by the object pool to create the SbbEntity
 * Object
 * 
 * @author F.Moggia
 * @author Eduardo Martins

From source file org.wso2.carbon.webapp.authenticator.framework.Utils.OAuthTokenValidationStubFactory.java

public class OAuthTokenValidationStubFactory implements PoolableObjectFactory {

    private String url;
    private String basicAuthHeader;
    private HttpClient httpClient;

From source file org.wso2.carbon.mdm.mobileservices.windows.common.authenticator.OAuthTokenValidationStubFactory.java

public class OAuthTokenValidationStubFactory implements PoolableObjectFactory {
    private String url;
    private String basicAuthHeader;
    private HttpClient httpClient;

    private static final Log log = LogFactory.getLog(OAuthTokenValidationStubFactory.class);

From source file org.wso2.carbon.device.mgt.mobile.windows.api.common.authenticator.OAuthTokenValidationStubFactory.java

public class OAuthTokenValidationStubFactory implements PoolableObjectFactory {
    private String url;
    private String basicAuthHeader;
    private HttpClient httpClient;

    private static final Log log = LogFactory.getLog(

From source file org.seasar.karrta.jcr.session.JcrSessionFactory.java

/**
 * 
 * @author yosuke
 * 
 */
public class JcrSessionFactory implements PoolableObjectFactory {

From source file org.paxle.parser.html.impl.HtmlParser.java

/**
 * Parses (X)HTML-pages using the html parser from
 * <a href="http://htmlparser.sf.net">http://htmlparser.sf.net</a>.
 * <p>
 *  It uses a kind of iterator with callback to walk through the node-tree of
 *  the HTML page, extracting information whereever supported and putting it