org.apache.fulcrum.intake.model
Class Group.GroupFactory

java.lang.Object
  extended by org.apache.commons.pool.BaseKeyedPoolableObjectFactory
      extended by org.apache.fulcrum.intake.model.Group.GroupFactory
All Implemented Interfaces:
org.apache.commons.pool.KeyedPoolableObjectFactory
Enclosing class:
Group

public static class Group.GroupFactory
extends org.apache.commons.pool.BaseKeyedPoolableObjectFactory


Constructor Summary
Group.GroupFactory(AppData appData)
           
 
Method Summary
 Object makeObject(Object key)
          Creates an instance that can be returned by the pool.
 void passivateObject(Object key, Object obj)
          Uninitialize an instance to be returned to the pool.
 
Methods inherited from class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
activateObject, destroyObject, validateObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Group.GroupFactory

public Group.GroupFactory(AppData appData)
Method Detail

makeObject

public Object makeObject(Object key)
                  throws IntakeException
Creates an instance that can be returned by the pool.

Specified by:
makeObject in interface org.apache.commons.pool.KeyedPoolableObjectFactory
Specified by:
makeObject in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
Returns:
an instance that can be returned by the pool.
Throws:
IntakeException - indicates that the group could not be retreived

passivateObject

public void passivateObject(Object key,
                            Object obj)
Uninitialize an instance to be returned to the pool.

Specified by:
passivateObject in interface org.apache.commons.pool.KeyedPoolableObjectFactory
Overrides:
passivateObject in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory
Parameters:
obj - the instance to be passivated


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.