Package org.objectweb.speedo.pm.api

Examples of org.objectweb.speedo.pm.api.POManagerFactoryItf


   */
  private boolean checkStrategy() {
    //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

Related Classes of org.objectweb.speedo.pm.api.POManagerFactoryItf

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.