org.clapper.util.misc
Class ObjectRemovalEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.clapper.util.misc.ObjectRemovalEvent
All Implemented Interfaces:
java.io.Serializable

public class ObjectRemovalEvent
extends java.util.EventObject

An ObjectRemovalEvent is an event that is propagated to certain event listeners when an object is removed from some kind of a store or data structure. For instance, the LRUMap class supports this event through its LRUMap.addRemovalListener(org.clapper.util.misc.ObjectRemovalListener, boolean) method.

Version:
$Revision: 6735 $
Author:
Copyright © 2004-2007 Brian M. Clapper
See Also:
ObjectRemovalListener, LRUMap.addRemovalListener(org.clapper.util.misc.ObjectRemovalListener, boolean), Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ObjectRemovalEvent(java.lang.Object source)
          Construct a ObjectRemovalEvent event to announce the removal of an object from a data store.
 
Method Summary
 
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

ObjectRemovalEvent

public ObjectRemovalEvent(java.lang.Object source)
Construct a ObjectRemovalEvent event to announce the removal of an object from a data store.

Parameters:
source - the object being removed


Copyright © 2004-2007 Brian M. Clapper. All Rights Reserved.