Examples of SyncStateful


Examples of org.jboss.ejb3.core.test.ejbthree1850.SyncStateful

   }
  
   @Test
   public void testRemove() throws NamingException
   {
      SyncStateful bean = lookup("SyncStatefulBean/local", SyncStateful.class);
      // if the remove sync runs before session sync, then SessionSync.afterCompletion won't have run
      bean.remove();
     
      assertEquals("afterBegin has not run", 1, SyncStatefulBean.afterBegins);
      assertEquals("beforeCompletion has not run", 1, SyncStatefulBean.beforeCompletions);
      assertEquals("afterCompletion has not run", 1, SyncStatefulBean.afterCompletions);
   }
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.