Package org.jboss.ejb3.test.proxy.impl.common.ejb.slsb

Examples of org.jboss.ejb3.test.proxy.impl.common.ejb.slsb.SimpleSLSBLocal.noop()


  
   @Test
   public void testCreateCount() throws Exception
   {
      NoopLocal bean = lookup("NoopBean/local", NoopLocal.class);
      bean.noop();
      assertEquals(1, container.getPool().getCreateCount());
      assertEquals("the pool should have grown", 1, container.getPool().getMaxSize());
      assertEquals("the instance should be available", 1, container.getPool().getAvailableCount());
   }
  
View Full Code Here


      local.printObject(object);
      local.printObject(string);
      // now pass an java.lang.Integer
      local.printObject(new Integer(34));
      // no param method
      local.noop();
      // method with return type
      int i = local.someMethodWithReturnType();
      // method with multiple different type of params
      local.printMultipleObjects(string, 2, 2.3f, new Float(34.2), 44.2d, new Double(22.234));
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.