|
intarsys runtime library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPoolObjectFactory
A factory for the lifecycle management of objects in a generic pool implementation.
Method Summary | |
---|---|
void |
activateObject(Object obj)
Activate the object before checkout from pool. |
Object |
createObject()
Create the new object. |
void |
deactivateObject(Object obj)
Deactivate object before checkin to pool. |
void |
destroyObject(Object obj)
Destroy the object. |
Method Detail |
---|
Object createObject() throws Exception
Exception
void destroyObject(Object obj) throws Exception
obj
- The object to be destroyed.
Exception
void activateObject(Object obj) throws Exception
obj
- The object to be activated.
Exception
void deactivateObject(Object obj) throws Exception
obj
- The object to be deeactivated.
Exception
|
intarsys runtime library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |