Package com.sun.enterprise.distributedtx

Examples of com.sun.enterprise.distributedtx.UserTransactionImpl


    private J2EETransactionManager getTransactionManagerImpl() {
        J2EETransactionManager tm = Switch.getSwitch().getTransactionManager();
  if (tm != null)
            return tm;
  new UserTransactionImpl(); // Hack to make clients work using this class
  tm = Switch.getSwitch().getTransactionManager();
  return tm;
    }
View Full Code Here


          BaseContainer container = (BaseContainer) inv.container;
          container.checkUserTransactionLookup(inv);
      }
        }
        // UserTransactionImpl is mutable so return new instance
        return new UserTransactionImpl();
    }
    else if ( fullName.equals(EJB_TIMER_SERVICE) ) {
        // return the EJB Timer Service.  Only works for ejbs.
        return Switch.getSwitch().getContainerFactory().
                        getEJBContextObject("javax.ejb.TimerService");
View Full Code Here

TOP

Related Classes of com.sun.enterprise.distributedtx.UserTransactionImpl

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.