|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.scopemvc.util.BasicPoolableObjectFactory
Creates pooleable instances of a specific class. The class to use MUST have a default constructor.
Field Summary | |
protected java.lang.Class |
clazz
The class to use |
Constructor Summary | |
BasicPoolableObjectFactory(java.lang.Class inClazz)
Construct a basic fool factory for the specified class. |
Method Summary | |
void |
activateObject(java.lang.Object object)
Peforms whatever processing is required prior to activating a pooled object. |
java.lang.Object |
createObject()
Creates and returns a poolable object. |
void |
destroyObject(java.lang.Object object)
Peforms whatever processing is required prior to destruction of a pooled object. |
void |
passivateObject(java.lang.Object object)
Peforms whatever processing is required prior to passivating a pooled object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final java.lang.Class clazz
Constructor Detail |
public BasicPoolableObjectFactory(java.lang.Class inClazz)
inClazz
- TODO: Describe the ParameterMethod Detail |
public void activateObject(java.lang.Object object)
activateObject
in interface PoolableObjectFactory
object
- TODO: Describe the Parameterpublic void passivateObject(java.lang.Object object)
passivateObject
in interface PoolableObjectFactory
object
- TODO: Describe the Parameterpublic java.lang.Object createObject()
createObject
in interface PoolableObjectFactory
public void destroyObject(java.lang.Object object)
destroyObject
in interface PoolableObjectFactory
object
- TODO: Describe the Parameter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |