|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A factory for instances of Pooled or Cached objects
Method Summary | |
Object |
createInstance()
Create an instance ready for insertion into the pool. |
void |
destroyInstance(Object instance)
Destroy an instance that the pool decided was not needed any longer. |
Method Detail |
public Object createInstance() throws Exception
Exception
- if there was a problem initializing the instancepublic void destroyInstance(Object instance)
instance
- the instance to destroy
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |