public void loadServices() { if (!(repoLocation == null || "".equals(repoLocation))) { super.loadServices(); } } }
public void loadServices() { if (!(repoLocation == null || "".equals(repoLocation))) { super.loadServices(); } } }
super.loadServices(); log.debug("loaded services from path: " + repository); return; if (config.getServletContext().getRealPath("") != null || config.getServletContext().getRealPath("/") != null) { super.loadServices(); log.debug("loaded services from webapp"); return;
super.loadServices(); log.debug("loaded services from path: " + repository); return; if (config.getServletContext().getRealPath("") != null || config.getServletContext().getRealPath("/") != null) { super.loadServices(); log.debug("loaded services from webapp"); return;
public void loadServices() { try { if (repository == null) { Parameter axis2repoPara = axisConfig.getParameter(DeploymentConstants.AXIS2_REPO); if (axis2repoPara != null) { String repoValue = (String) axis2repoPara.getValue(); if (repoValue != null && !"".equals(repoValue.trim())) { if (repoValue.startsWith("file://")) { // we treat this case specially , by assuming file is // locate in the local machine super.loadServices(); } else { loadServicesFromUrl(new URL(repoValue)); } } } } else { loadServicesFromUrl(repository); } } catch (MalformedURLException e) { log.info(e); } }
public void loadServices() { try { if (repository == null) { Parameter axis2repoPara = axisConfig.getParameter(DeploymentConstants.AXIS2_REPO); if (axis2repoPara != null) { String repoValue = (String) axis2repoPara.getValue(); if (repoValue != null && !"".equals(repoValue.trim())) { if (repoValue.startsWith("file://")) { // we treat this case specially , by assuming file is // locate in the local machine super.loadServices(); } else { loadServicesFromUrl(new URL(repoValue)); } } } } else { loadServicesFromUrl(repository); } } catch (MalformedURLException e) { log.info(e); } }