Package com.sun.messaging.jmq.jmsserver.data.handlers

Examples of com.sun.messaging.jmq.jmsserver.data.handlers.TransactionHandler


     {
         if (DEBUG) {
         Globals.getLogger().log(Logger.INFO, "ProtocolImpl.RECOVER TRANSACTION:TID="+id);
         }

         TransactionHandler handler = (TransactionHandler)
                      pr.getHandler(PacketType.START_TRANSACTION);

         TransactionList translist = handler.getTransactionList();
         Vector v = null;
         if (id == null) {
             v = translist.getTransactions(TransactionState.PREPARED);
        
         } else { // look at a single transaction
View Full Code Here


      * @param tuid transaction id to verify
      */
     public Map verifyTransaction(TransactionUID tuid)
         throws BrokerException
     {
         TransactionHandler handler = (TransactionHandler)
                      pr.getHandler(PacketType.START_TRANSACTION);
         TransactionList translist = handler.getTransactionList();
         TransactionState ts = translist.retrieveState(tuid, true);
         if (ts == null) return null; // GONE
         int realstate = ts.getState();

         if (realstate != TransactionState.PREPARED) {
View Full Code Here

TOP

Related Classes of com.sun.messaging.jmq.jmsserver.data.handlers.TransactionHandler

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.