public interface IPoolObjectFactory
| Modifier and Type | Method and Description |
|---|---|
void |
activateObject(java.lang.Object obj)
Activate the object before checkout from pool.
|
java.lang.Object |
createObject()
Create the new object.
|
void |
deactivateObject(java.lang.Object obj)
Deactivate object before checkin to pool.
|
void |
destroyObject(java.lang.Object obj)
Destroy the object.
|
java.lang.Object createObject()
throws java.lang.Exception
java.lang.Exceptionvoid destroyObject(java.lang.Object obj)
throws java.lang.Exception
obj - The object to be destroyed.java.lang.Exceptionvoid activateObject(java.lang.Object obj)
throws java.lang.Exception
obj - The object to be activated.java.lang.Exceptionvoid deactivateObject(java.lang.Object obj)
throws java.lang.Exception
obj - The object to be deeactivated.java.lang.Exception