Package org.jboss.test.deployers.ejb.bean1

Examples of org.jboss.test.deployers.ejb.bean1.Bean1Home.create()


      visitor.start(topInfo);
      assertTrue("Expected subdeployments: " + expected, expected.isEmpty());
*/     
      Object o = new InitialContext().lookup("Bean1EJB");
      Bean1Home home = (Bean1Home) PortableRemoteObject.narrow(o, Bean1Home.class);
      Bean1Remote bean = home.create();
      assertEquals("bean1-altdd.xml", bean.getEnvEntry("dd-file"));
   }
}
View Full Code Here


      visitor.start(topInfo);
      assertTrue("Expected subdeployments: " + expected, expected.isEmpty());
*/     
      Object o = new InitialContext().lookup("Bean1EJB");
      Bean1Home home = (Bean1Home) PortableRemoteObject.narrow(o, Bean1Home.class);
      Bean1Remote bean = home.create();
      assertEquals("bean1-altdd.xml", bean.getEnvEntry("dd-file"));
   }
}
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.