Package org.jboss.test.profileservice.ejb2x

Examples of org.jboss.test.profileservice.ejb2x.BeanHome


      ManagedDeploymentTester tester = new ManagedDeploymentTester()
      {
         public void testManagedDeployment() throws Exception
         {
            InitialContext ic = new InitialContext();
            BeanHome home = (BeanHome) ic.lookup("DeployUnitTestCase-testEjb2xDeployment");
            BeanRemote bean = home.create();
            String entry1 = (String) bean.getEnvEntry("entry1");
            assertEquals("entry1Value", entry1);
         }
      };
      testDeployment(name, "ejb2x", tester);
View Full Code Here


      {
         public void testManagedDeployment() throws Exception
         {
            // Validate the ejb
            InitialContext ic = new InitialContext();
            BeanHome home = (BeanHome) ic.lookup("DeployUnitTestCase-testEjb2xDeployment");
            BeanRemote bean = home.create();
            String entry1 = (String) bean.getEnvEntry("entry1");
            assertEquals("entry1Value", entry1);
            // TODO, validate the war
         }
      };
View Full Code Here

      ManagedDeploymentTester tester = new ManagedDeploymentTester()
      {
         public void testManagedDeployment() throws Exception
         {
            InitialContext ic = new InitialContext();
            BeanHome home = (BeanHome) ic.lookup("DeployUnitTestCase-testEjb2xDeployment");
            BeanRemote bean = home.create();
            String entry1 = (String) bean.getEnvEntry("entry1");
            assertEquals("entry1Value", entry1);
         }
      };
      testDeployment(name, "ejb2x", tester);
View Full Code Here

      {
         public void testManagedDeployment() throws Exception
         {
            // Validate the ejb
            InitialContext ic = new InitialContext();
            BeanHome home = (BeanHome) ic.lookup("DeployUnitTestCase-testEjb2xDeployment");
            BeanRemote bean = home.create();
            String entry1 = (String) bean.getEnvEntry("entry1");
            assertEquals("entry1Value", entry1);
            // TODO, validate the war
         }
      };
View Full Code Here

TOP

Related Classes of org.jboss.test.profileservice.ejb2x.BeanHome

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.