org.firebirdsql.pool
Class PooledObjectEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.firebirdsql.pool.PooledObjectEvent
All Implemented Interfaces:
java.io.Serializable

public class PooledObjectEvent
extends java.util.EventObject

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PooledObjectEvent(java.lang.Object eventSource)
          Create instance of this object for the specified event source.
PooledObjectEvent(java.lang.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
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PooledObjectEvent

public PooledObjectEvent(java.lang.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(java.lang.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 Detail

isDeallocated

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



Copyright © 2001 David Jencks and other authors. All rights reserved.