FileDocCategorySizeDatePackage
PoolListener.javaAPI DocGlassfish v2 API3713Fri May 04 22:32:16 BST 2007com.sun.enterprise.util.pool

PoolListener

public interface PoolListener
PoolListeners receive notification from the PoolHandler.

Fields Summary
Constructors Summary
Methods Summary
public voidafterCreate(java.lang.Object object)
Called after an object is created using factory.create(....)

param
The created object.

public voidafterNotify(java.lang.Object obj)
Called by the thread that has been notified.

public voidbeforeDestroy(java.lang.Object object)
Called before an object is destroyed using factory.destroy(object)

param
The object to be destroyed.

public voidbeforeWait(java.lang.Object obj)
Called by the thread that is about to wait.

public voidonClose()
Called when the pool is closed.