List of usage examples for org.apache.commons.pool BaseKeyedPoolableObjectFactory subclass-usage
From source file com.bfd.harpc.pool.AvroClientPoolFactory.java
/**
* AvroClient(?????)
* <p>
*
* @author : dsfan
* @date : 2015-6-16
From source file au.org.intersect.dms.wn.transports.impl.SftpTransportFactory.java
/** * Connection pool to sftp servers. */ public class SftpTransportFactory extends BaseKeyedPoolableObjectFactory implements TransportFactory { private static final String PROTOCOL = "sftp";
From source file au.org.intersect.dms.wn.transports.impl.LocalTransportFactory.java
/** * Connection pool to local drive. */ public class LocalTransportFactory extends BaseKeyedPoolableObjectFactory implements TransportFactory { private static final String PROTOCOL = "local";
From source file org.jasig.portal.xml.xpath.XPathExpressionFactory.java
/**
* Creates new {@link XPathExpression} instances
*
* @author Eric Dalquist
* @version $Revision$
*/
From source file org.wso2.carbon.databridge.agent.client.AbstractClientPoolFactory.java
/** * The abstract class that needs to be implemented when supporting a new non-secure transport * to mainly create, validate and terminate the client to the endpoint. */ public abstract class AbstractClientPoolFactory extends BaseKeyedPoolableObjectFactory {
From source file com.bfd.harpc.pool.TServiceClientPoolFactory.java
/**
* TserviceClient(?????)
* <p>
*
* @author : dsfan
* @date : 2015-5-12
From source file au.org.intersect.dms.wn.transports.impl.FtpTransportFactory.java
/** * Connection pool to ftp servers. */ public class FtpTransportFactory extends BaseKeyedPoolableObjectFactory implements TransportFactory { private static final String PROTOCOL = "ftp";
From source file org.apereo.portal.xml.xpath.XPathExpressionFactory.java
/**
* Creates new {@link XPathExpression} instances
*
* @author Eric Dalquist
* @version $Revision$
*/
From source file TestRedundantObjectPool.java
public class SkilledEmployeeFactory extends BaseKeyedPoolableObjectFactory { public Object makeObject(Object key) { if (key == null || !(key instanceof String) || ((String) key).length() == 0) throw new IllegalArgumentException("Invalid key specified"); return new SkilledEmployee(key.toString());
From source file org.jasig.schedassist.oraclecalendar.OracleSessionPoolableObjectFactory.java
/**
* Subclass of {@link BaseKeyedPoolableObjectFactory} for pooling
* Oracle {@link Session}s.
*
* The keys used in this class are {@link OracleCalendarServerNode}s.
*