Examples of TransactionLocal


Examples of org.jboss.tm.TransactionLocal

        public M2MRelationManager(final JDBCCMRFieldBridge leftField, final JDBCCMRFieldBridge rightField) {
            this.leftField = leftField;
            this.rightField = rightField;

            relationData = new TransactionLocal(leftField.manager.getComponent().getTransactionManager()) {
                protected Object initialValue() {
                    return new RelationData(leftField, rightField);
                }

                public Transaction getTransaction() {
View Full Code Here

Examples of org.jboss.tm.TransactionLocal

    * Initialization.
    * @param tm transaction manager
    */
   public static void setTransactionManager(TransactionManager tm)
   {
      txSynchs = new TransactionLocal(tm);
   }
View Full Code Here

Examples of org.jboss.tm.TransactionLocal

         subPool = mcpf.create(mcf, clf, subject, cri, pc, p, this, log);

         if (tm != null)
         {
            trackByTx = new TransactionLocal(tm)
         }
      }
      catch (Throwable t)
      {
         throw new ResourceException("Exception while creating sub pool", t);
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.