org.exist.util.serializer
Class SerializerObjectFactory

java.lang.Object
  extended by org.apache.commons.pool.BaseKeyedPoolableObjectFactory
      extended by org.exist.util.serializer.SerializerObjectFactory
All Implemented Interfaces:
KeyedPoolableObjectFactory

public class SerializerObjectFactory
extends BaseKeyedPoolableObjectFactory

Author:
wolf

Constructor Summary
SerializerObjectFactory()
           
 
Method Summary
 void activateObject(Object key, Object obj)
           
 Object makeObject(Object key)
           
 void passivateObject(Object key, Object obj)
           
 
Methods inherited from class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
destroyObject, validateObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializerObjectFactory

public SerializerObjectFactory()
Method Detail

makeObject

public Object makeObject(Object key)
                  throws Exception
Specified by:
makeObject in interface KeyedPoolableObjectFactory
Specified by:
makeObject in class BaseKeyedPoolableObjectFactory
Throws:
Exception

activateObject

public void activateObject(Object key,
                           Object obj)
                    throws Exception
Specified by:
activateObject in interface KeyedPoolableObjectFactory
Overrides:
activateObject in class BaseKeyedPoolableObjectFactory
Throws:
Exception

passivateObject

public void passivateObject(Object key,
                            Object obj)
                     throws Exception
Specified by:
passivateObject in interface KeyedPoolableObjectFactory
Overrides:
passivateObject in class BaseKeyedPoolableObjectFactory
Throws:
Exception


Copyright (C) Wolfgang Meier. All rights reserved.