Package org.jboss.ejb

Examples of org.jboss.ejb.InstancePool.free()


/*     */     {
/* 191 */       pool.discard(ctx);
/*     */     }
/*     */     else
/*     */     {
/* 198 */       pool.free(ctx);
/*     */     }
/*     */
/* 201 */     throw exception;
/*     */   }
/*     */
View Full Code Here


/*     */     {
/*     */       Object localObject1;
/* 101 */       mi.setEnterpriseContext(null);
/*     */
/* 103 */       if (ctx != null)
/* 104 */         pool.free(ctx);
/*     */     }
/*     */   }
/*     */
/*     */   public Object invoke(Invocation mi) throws Exception {
/* 112 */     InstancePool pool = this.container.getInstancePool();
View Full Code Here

/* 195 */       AllowedOperationsAssociation.popInMethodFlag();
/* 196 */       EnterpriseBeanPolicyContextHandler.setEnterpriseBean(null);
/*     */
/* 199 */       if (mi.getEnterpriseContext() != null)
/*     */       {
/* 201 */         pool.free((EnterpriseContext)mi.getEnterpriseContext());
/*     */       }
/*     */       else
/*     */       {
/* 205 */         pool.discard(ctx);
/*     */       }
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.