Package org.apache.fulcrum.intake.model
Class Group.GroupFactory
-
-
Constructor Summary
Constructors Constructor Description GroupFactory(AppData appData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Group
create(String key)
Creates an instance that can be returned by the pool.void
passivateObject(String key, org.apache.commons.pool2.PooledObject<Group> pooledGroup)
Uninitialize an instance to be returned to the pool.org.apache.commons.pool2.PooledObject<Group>
wrap(Group group)
-
-
-
Constructor Detail
-
GroupFactory
public GroupFactory(AppData appData)
-
-
Method Detail
-
create
public Group create(String key) throws IntakeException
Creates an instance that can be returned by the pool.- Specified by:
create
in classorg.apache.commons.pool2.BaseKeyedPooledObjectFactory<String,Group>
- Parameters:
key
- the name of the group- Returns:
- an instance that can be returned by the pool.
- Throws:
IntakeException
- indicates that the group could not be retrieved
-
passivateObject
public void passivateObject(String key, org.apache.commons.pool2.PooledObject<Group> pooledGroup)
Uninitialize an instance to be returned to the pool.
-
-