public interface IPoolObjectFactory
| Modifier and Type | Method and Description |
|---|---|
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.
|
Object createObject() throws Exception
Exceptionvoid destroyObject(Object obj) throws Exception
obj - The object to be destroyed.Exceptionvoid activateObject(Object obj) throws Exception
obj - The object to be activated.ExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.