org.exist.util
Class XMLReaderObjectFactory

java.lang.Object
  extended by org.apache.commons.pool.BasePoolableObjectFactory
      extended by org.exist.util.XMLReaderObjectFactory
All Implemented Interfaces:
PoolableObjectFactory

public class XMLReaderObjectFactory
extends BasePoolableObjectFactory

Factory to create new XMLReader objects on demand. The factory is used by XMLReaderPool.

Author:
wolf

Field Summary
static String CATALOG_RESOLVER
           
static String CATALOG_URIS
           
static String PROPERTY_VALIDATION
           
 
Constructor Summary
XMLReaderObjectFactory(BrokerPool pool)
           
 
Method Summary
 Object makeObject()
          (non-Javadoc)
 
Methods inherited from class org.apache.commons.pool.BasePoolableObjectFactory
activateObject, destroyObject, passivateObject, validateObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_VALIDATION

public static String PROPERTY_VALIDATION

CATALOG_RESOLVER

public static String CATALOG_RESOLVER

CATALOG_URIS

public static String CATALOG_URIS
Constructor Detail

XMLReaderObjectFactory

public XMLReaderObjectFactory(BrokerPool pool)
Method Detail

makeObject

public Object makeObject()
                  throws Exception
(non-Javadoc)

Specified by:
makeObject in interface PoolableObjectFactory
Specified by:
makeObject in class BasePoolableObjectFactory
Throws:
Exception
See Also:
BasePoolableObjectFactory.makeObject()


Copyright (C) Wolfgang Meier. All rights reserved.