|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PooledObject
Interface for objects that are pooled and reused.
| Method Summary | |
|---|---|
void |
activate()
The activate method is called when the instance is activated from its "passive" state. |
void |
passivate()
The passivate method is called before the instance enters the "passive" state. |
void |
remove()
PLJava invokes this method before it ends the life of the pooled object. |
| Method Detail |
|---|
void activate()
throws java.sql.SQLException
java.sql.SQLException - if something goes wrong with the activation.
When this happens, a call will be issued to remove() and
the object will no longer be part of the pool.
void passivate()
throws java.sql.SQLException
java.sql.SQLException - if something goes wrong with the passivation.
When this happens, a call will be issued to remove() and
the object will no longer be part of the pool.void remove()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||