use of com.adaptris.core.management.jetty.JettyServerComponent in project interlok by adaptris.
the class EmbeddedJettyHelper method startServer.
public void startServer() throws Exception {
jetty = new JettyServerComponent();
jetty.init(jettyConfig);
jetty.start();
Thread.sleep(250);
final JettyServerManager mgr = JettyServerManager.getInstance();
while (!mgr.isStarted()) {
Thread.sleep(250);
}
}
Aggregations