Package org.jboss.ejb

Examples of org.jboss.ejb.EnterpriseContext.clear()


      LinkedList clone = (LinkedList)pool.clone();
      for (int i = 0; i < clone.size(); i++)
      {
         EnterpriseContext ec = (EnterpriseContext)clone.get(i);
         // Clear TX so that still TX entity pools get killed as well
         ec.clear();
         discard(ec);
      }
      pool.clear();
   }
View Full Code Here


/* 347 */     LinkedList clone = (LinkedList)this.pool.clone();
/* 348 */     for (int i = 0; i < clone.size(); i++)
/*     */     {
/* 350 */       EnterpriseContext ec = (EnterpriseContext)clone.get(i);
/*     */
/* 352 */       ec.clear();
/* 353 */       discard(ec);
/*     */     }
/* 355 */     this.pool.clear();
/*     */   }
/*     */ }
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.