{
String root = xServiceDefinition.getAttributeValueByName("root");
String page404 = xServiceDefinition.getAttributeValueByName("404-file");
String indexPage = xServiceDefinition.getAttributeValueByName("index-page");
router = new HttpTunnelRouter(name,new FileServer(new File(root),new File(page404),indexPage,getMimeTypes()));
}
else if(type.equals("http-load-balance-service"))
{
HttpLoadBalancingRouter balancingRouter = new HttpLoadBalancingRouter(name,server.getFileServer());
router = balancingRouter;