Package org.apache.openjpa.datacache
Class TypesChangedEvent
- java.lang.Object
-
- java.util.EventObject
-
- 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
Constructors Constructor Description TypesChangedEvent(Object source, Collection types)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectiongetTypes()Return the expired types.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
TypesChangedEvent
public TypesChangedEvent(Object source, Collection types)
Constructor.- Parameters:
source- the data or query cachetypes- the changed types
-
-
Method Detail
-
getTypes
public Collection getTypes()
Return the expired types.
-
-