Package ch.inftec.ju.ee.test

Examples of ch.inftec.ju.ee.test.TestRunnerFacade$TransactionAware


    jndiProps.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.remote.client.InitialContextFactory");
    jndiProps.put(Context.PROVIDER_URL,"remote://localhost:14447");
    // create a context passing these properties
    Context ctx = new InitialContext(jndiProps);

    TestRunnerFacade testRunnerFacade = (TestRunnerFacade) ctx.lookup("ee-ear-ear/ee-ear-ejb/TestRunnerFacadeBean!" + TestRunnerFacade.class.getName());
//    testRunnerFacade.runTestMethodInEjbContext("bli", "bla", null);
  }
View Full Code Here


      .remoteServer("localhost", 14447)
      .appName("ee-ear-ear")
      .moduleName("ee-ear-ejb")
      .createServiceLocator();
   
    TestRunnerFacade testRunnerFacade = loc.lookup(TestRunnerFacade.class);
//    testRunnerFacade.runTestMethodInEjbContext("bli", "bla", null);
  }
View Full Code Here

TOP

Related Classes of ch.inftec.ju.ee.test.TestRunnerFacade$TransactionAware

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.