Package org.jboss.test.managed.bean

Examples of org.jboss.test.managed.bean.Echo


    * @throws Exception
    */
   public void testManagedBeanInvocation() throws Exception
   {
      // get hold of the bean which internally invokes on the managed bean
      Echo bean = (Echo) this.getInitialContext().lookup(DelegateSLSB.JNDI_NAME);
      String message = "No new message!";
      String echoedMessage = bean.echo(message);
      Assert.assertEquals("Unexpected message returned", message, echoedMessage);
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.managed.bean.Echo

Copyright © 2018 www.massapicom. 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.