Examples of TxPropagationRem


Examples of org.jboss.test.jbossts.txpropagation.ejb3.TxPropagationRem

      {
         String result = null;
        
         if (useEJB3)
         {
            TxPropagationRem cr = EJBUtils.lookupTxPropagationBeanEJB3(remoteHost, remoteJndiPort, remoteCorbaPort, useOTS);
            result = cr.testXA(fSpecsRemoteNode, testEntityPKRemoteNode);
         }
         else
         {
            TxPropagationEJB2Rem cr = EJBUtils.lookupTxPropagationBeanEJB2(remoteHost, remoteJndiPort, remoteCorbaPort, useOTS);
            result = cr.testXA(fSpecsRemoteNode, testEntityPKRemoteNode);
         }
        
         log.info("result = " + result);
         return "Passed".equalsIgnoreCase(result);
      }
View Full Code Here

Examples of org.jboss.test.jbossts.txpropagation.ejb3.TxPropagationRem

         if (clientTx)
            startTx(host0, jndiPort0);

         if (useEJB3)
         {
            TxPropagationRem cr = EJBUtils.lookupTxPropagationBeanEJB3(host0, jndiPort0, corbaPort0, useOTS);
            res = cr.testXA(fSpecsNode0, fSpecsNode1, testEntityPK0, testEntityPK1, host1, expectFailureNode1, useOTS, jndiPort1, corbaPort1);
         }
         else
         {
            TxPropagationEJB2Rem cr = EJBUtils.lookupTxPropagationBeanEJB2(host0, jndiPort0, corbaPort0, useOTS);
            res = cr.testXA(fSpecsNode0, fSpecsNode1, testEntityPK0, testEntityPK1, host1, expectFailureNode1, useOTS, jndiPort1, corbaPort1);
         }
        
         // in case of commit_halt on node1 there is no thrown exception, though that we need to pass through recoverUids()
         return "Passed".equalsIgnoreCase(res) && recoverUids();
      }
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.