|
PooliT v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ascentphase.poolit.handlers.BaseHandler
This is a convenience base class for PoolHandler. This class defines an empty destroy() method and a verify() method that always returns true.
| Constructor Summary | |
BaseHandler()
|
|
| Method Summary | |
abstract java.lang.Object |
create()
Called by a Pooler to create a new object. |
void |
destroy(java.lang.Object o)
Called by a Pooler to perform any cleanup and destroy the object for garbage collection. |
boolean |
verify(java.lang.Object o)
Called by a Pooler to verify that the object is in a consistent and useable state. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BaseHandler()
| Method Detail |
public abstract java.lang.Object create()
throws CreateException
PoolHandler
create in interface PoolHandlerCreateExceptionpublic void destroy(java.lang.Object o)
PoolHandler
destroy in interface PoolHandlero - the object to be destroyedpublic boolean verify(java.lang.Object o)
PoolHandler
verify in interface PoolHandlero - the object to be tested
|
PooliT v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||