}
else if (type.equals("wars")) {
ObjectName pattern = new ObjectName("resin:type=WebAppDeploy,*");
for (Object proxy : Jmx.query(pattern)) {
WebAppDeployMXBean warDeploy = (WebAppDeployMXBean) proxy;
warDeploy.deploy(name);
return statusMessage(gitPath);
}
}