pluginService.getPluginXml(req, resp);
}else if("getStencilset".equals(action)){
StencilsetService stencilsetService = new StencilsetServiceImpl();
stencilsetService.getStencilsetJson(req, resp);
}else if("loadBPMNWeb".equals(action)){
WebModelService webModelService = new WebModelServiceImpl(req, resp);
webModelService.loadBPMNJson();
}else if("modelSave".equals(action)){
WebModelService webModelService = new WebModelServiceImpl(req, resp);
webModelService.modelSave();
}else if("reTryModelInfo".equals(action)){
WebModelService webModelService = new WebModelServiceImpl(req, resp);
webModelService.reTryModelInfo();
}
}catch(Exception ex){
ex.printStackTrace();
ObjectNode jsonNode = new ObjectMapper().createObjectNode();
jsonNode.put("state", "error");