org.apache.openjpa.datacache
Class TypesChangedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.apache.openjpa.datacache.TypesChangedEvent
All Implemented Interfaces:
Serializable

public class TypesChangedEvent
extends EventObject

An event indicating that instances of given persistent types have been modified.

Author:
Abe White
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
TypesChangedEvent(Object source, Collection types)
          Constructor.
 
Method Summary
 Collection getTypes()
          Return the expired types.
 
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

TypesChangedEvent

public TypesChangedEvent(Object source,
                         Collection types)
Constructor.

Parameters:
source - the data or query cache
types - the changed types
Method Detail

getTypes

public Collection getTypes()
Return the expired types.



Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.