{
String root = xServiceDefinition.getAttributeValueByName("root");
String page404 = xServiceDefinition.getAttributeValueByName("404-file");
String indexPage = xServiceDefinition.getAttributeValueByName("index-page");
router = new HttpInversionRouter(name,new FileServer(new File(root),new File(page404),indexPage,getMimeTypes()));
}
else if(type.equals("http-tunnel-service"))
{
String root = xServiceDefinition.getAttributeValueByName("root");
String page404 = xServiceDefinition.getAttributeValueByName("404-file");