org.apache.turbine.services.intake.model
Class Group.GroupFactory

java.lang.Object
  extended byorg.apache.commons.pool.BaseKeyedPoolableObjectFactory
      extended byorg.apache.turbine.services.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
 java.lang.Object makeObject(java.lang.Object key)
          Creates an instance that can be returned by the pool.
 void passivateObject(java.lang.Object key, java.lang.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 java.lang.Object makeObject(java.lang.Object key)
                            throws IntakeException
Creates an instance that can be returned by the pool.

Returns:
an instance that can be returned by the pool.
Throws:
IntakeException - indicates that the group could not be retreived

passivateObject

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

Parameters:
obj - the instance to be passivated


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.