Examples of AsyncTesterCommonBusiness


Examples of org.jboss.test.ejb3.async.AsyncTesterCommonBusiness

   }

   public void testRemoteAsyncInvocation()
      throws Exception
   {
      final AsyncTesterCommonBusiness bean = this.getTesterBean();
       Assert.assertTrue("Remote invocation not executed in new Thread",bean.isRemoteAsyncInvocationExecutedInNewThread());
   }
View Full Code Here

Examples of org.jboss.test.ejb3.async.AsyncTesterCommonBusiness

   }

   public void testLocalAsyncInvocation()
      throws Exception
   {
      final AsyncTesterCommonBusiness bean = this.getTesterBean();
      Assert.assertTrue("Local invocation not executed in new Thread",bean.isLocalAsyncInvocationExecutedInNewThread());
   }
View Full Code Here

Examples of org.jboss.test.ejb3.async.AsyncTesterCommonBusiness

   }

   public void testNointerfaceAsyncInvocation()
      throws Exception
   {
      final AsyncTesterCommonBusiness bean = this.getTesterBean();
      Assert.assertTrue("Nointerface invocation not executed in new Thread",bean.isNointerfaceAsyncInvocationExecutedInNewThread());
   }
View Full Code Here

Examples of org.jboss.test.ejb3.async.AsyncTesterCommonBusiness

      final AsyncTesterCommonBusiness bean = this.getTesterBean();
      Assert.assertTrue("Nointerface invocation not executed in new Thread",bean.isNointerfaceAsyncInvocationExecutedInNewThread());
   }

   public void testLocalBlockingInvocation() throws Exception{
      final AsyncTesterCommonBusiness bean = this.getTesterBean();
      Assert.assertTrue("Local non-async invocation not executed in same Thread",bean.isLocalBlockingInvocationExecutedInSameThread());
   }
View Full Code Here

Examples of org.jboss.test.ejb3.async.AsyncTesterCommonBusiness

      final AsyncTesterCommonBusiness bean = this.getTesterBean();
      Assert.assertTrue("Local non-async invocation not executed in same Thread",bean.isLocalBlockingInvocationExecutedInSameThread());
   }

   public void testLocalCancel() throws Exception{
       final AsyncTesterCommonBusiness bean = this.getTesterBean();
       Assert.assertTrue("Local async call should be able to be cancelled",bean.cancelInterruptIfRunningWorksLocal());
   }
View Full Code Here

Examples of org.jboss.test.ejb3.async.AsyncTesterCommonBusiness

       final AsyncTesterCommonBusiness bean = this.getTesterBean();
       Assert.assertTrue("Local async call should be able to be cancelled",bean.cancelInterruptIfRunningWorksLocal());
   }

   public void testLocalRemote() throws Exception{
       final AsyncTesterCommonBusiness bean = this.getTesterBean();
       Assert.assertTrue("Remote async call should be able to be cancelled",bean.cancelInterruptIfRunningWorksRemote());
   }
View Full Code Here

Examples of org.jboss.test.ejb3.async.AsyncTesterCommonBusiness

   private AsyncTesterCommonBusiness getTesterBean() throws Exception {
      final InitialContext ctx = getInitialContext();
      final String jndiName = "AsyncTesterBean/remote";
      final Object ref = ctx.lookup(jndiName);
      final AsyncTesterCommonBusiness bean = (AsyncTesterCommonBusiness) ref;
      return bean;
   }
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.