Search in sources :

Example 1 with TMApplication

use of org.jboss.jbossts.star.service.TMApplication in project narayana by jbosstm.

the class BaseTest method startUndertow.

protected static void startUndertow(Class<?>... classes) throws Exception {
    undertow = new UndertowJaxrsServer();
    undertow.start(Undertow.builder().addHttpListener(PORT, "localhost"));
    // , SURL + "tx/");
    undertow.deploy(new TMApplication(classes));
    System.out.printf("server is ready:");
}
Also used : TMApplication(org.jboss.jbossts.star.service.TMApplication) UndertowJaxrsServer(org.jboss.resteasy.plugins.server.undertow.UndertowJaxrsServer)

Aggregations

TMApplication (org.jboss.jbossts.star.service.TMApplication)1 UndertowJaxrsServer (org.jboss.resteasy.plugins.server.undertow.UndertowJaxrsServer)1