|
xmlBlaster 2.2.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface I_PoolManager
Interface you need to implement to receive state transition callbacks from the PoolManager.
This code is derived from the org.jutils.pool package.
PoolManager,
ResourceWrapper| Method Summary | |
|---|---|
void |
busyToIdle(java.lang.Object resource)
Is invoked on state transition from 'busy' to 'idle'. |
void |
idleToBusy(java.lang.Object resource)
Is invoked on state transition from 'idle' to 'busy'. |
java.lang.Object |
toCreate(java.lang.String instanceId)
Is invoked when a new resource is needed. |
void |
toErased(java.lang.Object resource)
Is invoked when a resource is destroyed explicitly or by timeout. |
| Method Detail |
|---|
void idleToBusy(java.lang.Object resource)
void busyToIdle(java.lang.Object resource)
java.lang.Object toCreate(java.lang.String instanceId)
throws XmlBlasterException
XmlBlasterExceptionvoid toErased(java.lang.Object resource)
|
xmlBlaster 2.2.0 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||