Package org.objectweb.speedo.pm.api

Examples of org.objectweb.speedo.pm.api.POManagerFactoryItf.lookup()


    //at the moment, only support for transactional and nontransactional strategy
    if (strategy != NON_TRANSACTIONAL) {
      //get the pmf
      POManagerFactoryItf pmf = sequenceManager.getPMF();
      //get the pm
      POManagerItf pm = pmf.lookup();
      //check that a transaction is active
      return (pm != null  && pm.getSpeedoTransaction().isActive());
    }
    return true;
  }
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.