org.jboss.cache.pojo.notification.event
Class Event
java.lang.Object
java.util.EventObject
org.jboss.cache.pojo.notification.event.Event
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ArrayModifiedEvent, AttachedEvent, DetachedEvent, FieldModifiedEvent, ListModifiedEvent, MapModifiedEvent, SetModifiedEvent, TransactionCompletedEvent, TransactionRegisteredEvent
public abstract class Event
- extends EventObject
Base class for all POJO Cache events.
- Author:
- Jason T. Greene
- See Also:
- Serialized Form
Event
public Event(NotificationContext context,
Object source,
boolean local)
isLocal
public boolean isLocal()
- Determines if this event originated locally.
- Returns:
- true if this event originated locally, otherwise false.
getContext
public NotificationContext getContext()
- Obtain the context associated with this notification.
- Returns:
- the notification context
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.