Package org.apache.fulcrum.intake.model
Class Group.GroupFactory
- Enclosing class:
Group
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates 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> Methods inherited from class org.apache.commons.pool2.BaseKeyedPooledObjectFactory
activateObject, destroyObject, makeObject, validateObject
Methods inherited from class org.apache.commons.pool2.BaseObject
toString, toStringAppendFields
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.commons.pool2.KeyedPooledObjectFactory
destroyObject
-
Constructor Details
-
GroupFactory
-
-
Method Details
-
create
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
-
wrap
-
passivateObject
Uninitialize an instance to be returned to the pool.
-