org.jboss.cache.pojo.notification.event
Class TransactionCompletedEvent
java.lang.Object
java.util.EventObject
org.jboss.cache.pojo.notification.event.Event
org.jboss.cache.pojo.notification.event.TransactionCompletedEvent
- All Implemented Interfaces:
- Serializable
public final class TransactionCompletedEvent
- extends Event
A notification that indicates a transaction completed.
- Author:
- Jason T. Greene
- See Also:
- Serialized Form
TransactionCompletedEvent
public TransactionCompletedEvent(NotificationContext context,
boolean successful,
boolean local)
getSource
public Transaction getSource()
- Overrides:
getSource
in class EventObject
isSuccessful
public boolean isSuccessful()
- Whether or not the transaction was successful.
- Returns:
- success boolean
Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.