org.apache.fulcrum.intake.model
Class Group.GroupFactory
java.lang.Object
org.apache.commons.pool.BaseKeyedPoolableObjectFactory
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
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 |
Group.GroupFactory
public Group.GroupFactory(AppData appData)
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.