Examples of markForPassivation()


Examples of org.jboss.ejb3.cache.legacy.StatefulBeanContext.markForPassivation()

                  passivate(centry);
                  // its ok to evict because bean will be passivated.
               }
               else
               {
                  centry.markForPassivation();
                 
                  if (!centry.isInUse())
                  {
                     // Can't passivate but not in use means a child bean is
                     // in use.
View Full Code Here

Examples of org.jboss.ejb3.cache.legacy.StatefulBeanContext.markForPassivation()

                                 log.trace("Removing " + entry.getKey() + " from cache");
                              }
                           }
                           else
                           {
                              centry.markForPassivation();
                              assert centry.isInUse() : centry + " is not in use, and thus will never be passivated";
                           }
                           // its ok to evict because it will be passivated
                           // or we determined above that we can remove it
                           it.remove();
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.