Package org.jboss.cache.pojo.notification.event

Examples of org.jboss.cache.pojo.notification.event.TransactionCompletedEvent


   public void handleTransaction(TransactionalEvent event)
   {
      if (event.getType() == TRANSACTION_COMPLETED)
      {
         boolean successful = ((org.jboss.cache.notifications.event.TransactionCompletedEvent) event).isSuccessful();
         sendNotification(new TransactionCompletedEvent(createContext(event), successful, event.isOriginLocal()), null);
      }
      else if (event.getType() == TRANSACTION_REGISTERED)
      {
         sendNotification(new TransactionRegisteredEvent(createContext(event), event.isOriginLocal()), null);
      }
View Full Code Here

TOP

Related Classes of org.jboss.cache.pojo.notification.event.TransactionCompletedEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.