org.productivity.java.syslog4j.impl.pool.generic
Class GenericSyslogPoolFactory

java.lang.Object
  extended by org.apache.commons.pool.BasePoolableObjectFactory
      extended by org.productivity.java.syslog4j.impl.pool.AbstractSyslogPoolFactory
          extended by org.productivity.java.syslog4j.impl.pool.generic.GenericSyslogPoolFactory
All Implemented Interfaces:
org.apache.commons.pool.PoolableObjectFactory

public class GenericSyslogPoolFactory
extends AbstractSyslogPoolFactory

GenericSyslogPoolFactory is an implementation of the Apache Commons Pool BasePoolableObjectFactory using a GenericObjectPool.

Syslog4j is licensed under the Lesser GNU Public License v2.1. A copy of the LGPL license is available in the META-INF folder in all distributions of Syslog4j and in the base directory of the "doc" ZIP.

Version:
$Id: GenericSyslogPoolFactory.java,v 1.5 2008/12/10 04:15:10 cvs Exp $
Author:
<syslog4j@productivity.org>

Field Summary
 
Fields inherited from class org.productivity.java.syslog4j.impl.pool.AbstractSyslogPoolFactory
pool, syslog, syslogConfig
 
Constructor Summary
GenericSyslogPoolFactory()
           
 
Method Summary
protected  void configureGenericObjectPool(org.apache.commons.pool.impl.GenericObjectPool genericObjectPool)
           
 org.apache.commons.pool.ObjectPool createPool()
           
 
Methods inherited from class org.productivity.java.syslog4j.impl.pool.AbstractSyslogPoolFactory
borrowSyslogWriter, clear, close, destroyObject, initialize, makeObject, returnSyslogWriter
 
Methods inherited from class org.apache.commons.pool.BasePoolableObjectFactory
activateObject, passivateObject, validateObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericSyslogPoolFactory

public GenericSyslogPoolFactory()
Method Detail

configureGenericObjectPool

protected void configureGenericObjectPool(org.apache.commons.pool.impl.GenericObjectPool genericObjectPool)
                                   throws SyslogRuntimeException
Throws:
SyslogRuntimeException

createPool

public org.apache.commons.pool.ObjectPool createPool()
                                              throws SyslogRuntimeException
Specified by:
createPool in class AbstractSyslogPoolFactory
Throws:
SyslogRuntimeException