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

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


      //call the method with various different parameters
      Object object = new String("I am some object");
      String string = new String("AnotherString");

      // method which accepts object/string
      local.printObject(object);
      local.printObject(string);
      // now pass an java.lang.Integer
      local.printObject(new Integer(34));
      // no param method
      local.noop();
View Full Code Here


      Object object = new String("I am some object");
      String string = new String("AnotherString");

      // method which accepts object/string
      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
View Full Code Here

      // method which accepts object/string
      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
View Full Code Here

      assertNotNull("Local bean is null", local);

      // pass null to some params
      local.printMultipleObjects("hello", 2, 2.2f, null, 3.2, new Double(4.4));
      // pass null
      local.printObject(null);
      // pass null to all object params
      local.printMultipleObjects(null, 0, 0.0f, null, 0.0, null);
   }

}
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.