use of io.joynr.integration.setup.SystemPropertyServletConfiguration in project joynr by bmwcarit.
the class ServersUtil method createBounceproxyControllerWebApp.
public static WebAppContext createBounceproxyControllerWebApp(String warFileName, String parentContext, Properties props) {
WebAppContext bounceproxyWebapp = new WebAppContext();
bounceproxyWebapp.setContextPath(createContextPath(parentContext, BOUNCEPROXYCONTROLLER_CONTEXT));
bounceproxyWebapp.setWar("target/" + warFileName + ".war");
if (props != null) {
bounceproxyWebapp.setConfigurations(new Configuration[] { new WebInfConfiguration(), new WebXmlConfiguration(), new SystemPropertyServletConfiguration(props) });
}
// Makes jetty load classes in the same order as JVM. Otherwise there's
// a conflict loading loggers.
bounceproxyWebapp.setParentLoaderPriority(true);
return bounceproxyWebapp;
}
use of io.joynr.integration.setup.SystemPropertyServletConfiguration in project joynr by bmwcarit.
the class ServersUtil method createControlledBounceproxyWebApp.
public static WebAppContext createControlledBounceproxyWebApp(String parentContext, Properties props) {
WebAppContext bounceproxyWebapp = new WebAppContext();
bounceproxyWebapp.setContextPath(createContextPath(parentContext, BOUNCEPROXY_CONTEXT));
bounceproxyWebapp.setWar("target/controlled-bounceproxy.war");
if (props != null) {
bounceproxyWebapp.setConfigurations(new Configuration[] { new WebInfConfiguration(), new WebXmlConfiguration(), new SystemPropertyServletConfiguration(props) });
}
// Makes jetty load classes in the same order as JVM. Otherwise there's
// a conflict loading loggers.
bounceproxyWebapp.setParentLoaderPriority(true);
return bounceproxyWebapp;
}
Aggregations