202203204205206207208209210211212
} } catch (PathNotFoundException e) { return null; } catch (Exception e) { log.error("Cannot get Deployment Description", e); throw new DeploymentDescriptionRetrieveException(e); } finally { closeSession(session); } return result; }
442443444445446447448449450451452
+ "$" + hostNode.getName()); } } } } catch (Exception e) { throw new DeploymentDescriptionRetrieveException(e); } finally { closeSession(session); } return result; }
460461462463464465466467468469
Node serviceNode = deploymentNode.getNode(serviceName); Node hostNode = serviceNode.getNode(hostName); hostNode.remove(); session.save(); } catch (Exception e) { throw new DeploymentDescriptionRetrieveException(e); } finally { closeSession(session); } }
495496497498499500501502503504505
} } } catch (PathNotFoundException e) { return result; } catch (Exception e) { throw new DeploymentDescriptionRetrieveException(e); } finally { closeSession(session); } return result; }
523524525526527528529530531532533
} } }catch (PathNotFoundException e){ return result; } catch (Exception e) { throw new DeploymentDescriptionRetrieveException(e); } finally { closeSession(session); } return result; }
556557558559560561562563564565566
result.add(ApplicationDeploymentDescription.fromXML(prop.getString())); } } catch (PathNotFoundException e) { return result; } catch (Exception e) { throw new DeploymentDescriptionRetrieveException(e); } finally { closeSession(session); } return result; }
279280281282283284285286287288289
513514515516517518519520521522523
544545546547548549550551552553
if (found) { session.save(); triggerObservers(this); } } catch (Exception e) { throw new DeploymentDescriptionRetrieveException(e); } finally { closeSession(session); } }
571572573574575576577578579580581