org.firebirdsql.pool

Class PooledObjectEvent


public class PooledObjectEvent
extends EventObject

Event object for object pool events. * * @author Roman Rokytskyy

Constructor Summary

PooledObjectEvent(Object eventSource)
Create instance of this object for the specified event source.
PooledObjectEvent(Object eventSource, boolean connectionDeallocated)
Create instance of this object for the specified event source and * information if the physical connection is deallocated.

Method Summary

boolean
isDeallocated()
Check if the physical connection that generated this event is deallocated.

Constructor Details

PooledObjectEvent

public PooledObjectEvent(Object eventSource)
Create instance of this object for the specified event source. This is * a shortcut call for PooledObjectEvent(Object, false). * * @param eventSource event source.

PooledObjectEvent

public PooledObjectEvent(Object eventSource,
                         boolean connectionDeallocated)
Create instance of this object for the specified event source and * information if the physical connection is deallocated. * * @param eventSource event source. * * @param connectionDeallocated true if physical connection * is closed.

Method Details

isDeallocated

public boolean isDeallocated()
Check if the physical connection that generated this event is deallocated. * * @return true if connection was deallocated.

Copyright B) 2001 David Jencks and other authors. All rights reserved.