Package javax.resource.spi

Examples of javax.resource.spi.ConnectionEventListener.localTransactionRolledback()


                ConnectionEvent event = new ConnectionEvent(ActiveMQManagedConnection.this, ConnectionEvent.LOCAL_TRANSACTION_ROLLEDBACK);
                Iterator iterator = listeners.iterator();
                while (iterator.hasNext()) {
                    ConnectionEventListener l = (ConnectionEventListener) iterator
                            .next();
                    l.localTransactionRolledback(event);
                }
            }
        };
    }
View Full Code Here


                ConnectionEvent event = new ConnectionEvent(ActiveMQManagedConnection.this, ConnectionEvent.LOCAL_TRANSACTION_ROLLEDBACK);
                Iterator iterator = listeners.iterator();
                while (iterator.hasNext()) {
                    ConnectionEventListener l = (ConnectionEventListener) iterator
                            .next();
                    l.localTransactionRolledback(event);
                }
            }
        };
    }
View Full Code Here

    private void fireRollbackEvent() {
        ConnectionEvent event = new ConnectionEvent(ActiveMQManagedConnection.this, ConnectionEvent.LOCAL_TRANSACTION_ROLLEDBACK);
        Iterator<ConnectionEventListener> iterator = listeners.iterator();
        while (iterator.hasNext()) {
            ConnectionEventListener l = iterator.next();
            l.localTransactionRolledback(event);
        }
    }

    private void fireCloseEvent(ManagedConnectionProxy proxy) {
        ConnectionEvent event = new ConnectionEvent(ActiveMQManagedConnection.this, ConnectionEvent.CONNECTION_CLOSED);
View Full Code Here

/* 658 */       for (int i = 0; i < copy.size(); i++)
/*     */       {
/* 660 */         ConnectionEventListener cel = (ConnectionEventListener)copy.get(i);
/*     */         try
/*     */         {
/* 663 */           cel.localTransactionRolledback(ce);
/*     */         }
/*     */         catch (Throwable t)
/*     */         {
/* 667 */           getLog().trace("Error notifying of connection rollback for listener: " + cel, t);
/*     */         }
View Full Code Here

        ConnectionEvent event = new ConnectionEvent(ActiveMQManagedConnection.this,
                ConnectionEvent.LOCAL_TRANSACTION_ROLLEDBACK);
        Iterator iterator = listeners.iterator();
        while (iterator.hasNext()) {
            ConnectionEventListener l = (ConnectionEventListener) iterator.next();
            l.localTransactionRolledback(event);
        }
    }

    private void fireCloseEvent(JMSConnectionProxy proxy) {
        ConnectionEvent event = new ConnectionEvent(ActiveMQManagedConnection.this,
View Full Code Here

         for (int i = 0; i < copy.size(); ++i)
         {
            ConnectionEventListener cel = (ConnectionEventListener) copy.get(i);
            try
            {
               cel.localTransactionRolledback(ce);
            }
            catch (Throwable t)
            {
               getLog().trace("Error notifying of connection rollback for listener: " + cel, t);
            }
View Full Code Here

    public void localTransactionRolledBackEvent(MockConnection mockConnection) {
        ConnectionEvent connectionEvent = new ConnectionEvent(this, ConnectionEvent.LOCAL_TRANSACTION_ROLLEDBACK);
        connectionEvent.setConnectionHandle(mockConnection);
        for (Iterator iterator = new ArrayList(connectionEventListeners).iterator(); iterator.hasNext();) {
            ConnectionEventListener connectionEventListener = (ConnectionEventListener) iterator.next();
            connectionEventListener.localTransactionRolledback(connectionEvent);
        }
    }
}
View Full Code Here

    public void localTransactionRolledBackEvent(MockConnection mockConnection) {
        ConnectionEvent connectionEvent = new ConnectionEvent(this, ConnectionEvent.LOCAL_TRANSACTION_ROLLEDBACK);
        connectionEvent.setConnectionHandle(mockConnection);
        for (Iterator iterator = new ArrayList(connectionEventListeners).iterator(); iterator.hasNext();) {
            ConnectionEventListener connectionEventListener = (ConnectionEventListener) iterator.next();
            connectionEventListener.localTransactionRolledback(connectionEvent);
        }
    }
}
View Full Code Here

        ConnectionEvent event = new ConnectionEvent(ActiveMQManagedConnection.this,
                ConnectionEvent.LOCAL_TRANSACTION_ROLLEDBACK);
        Iterator iterator = listeners.iterator();
        while (iterator.hasNext()) {
            ConnectionEventListener l = (ConnectionEventListener) iterator.next();
            l.localTransactionRolledback(event);
        }
    }

    private void fireCloseEvent(JMSConnectionProxy proxy) {
        ConnectionEvent event = new ConnectionEvent(ActiveMQManagedConnection.this,
View Full Code Here

                ConnectionEvent event = new ConnectionEvent(ActiveMQManagedConnection.this, ConnectionEvent.LOCAL_TRANSACTION_ROLLEDBACK);
                Iterator iterator = listeners.iterator();
                while (iterator.hasNext()) {
                    ConnectionEventListener l = (ConnectionEventListener) iterator
                            .next();
                    l.localTransactionRolledback(event);
                }
            }
        };
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.