public void engageGlobalModules() throws AxisFault { engageModules(); }
String repository = config.getInitParameter(PARAM_AXIS2_REPOSITORY_PATH); if (repository != null) { loadRepository(repository); log.debug("loaded repository from path: " + repository); repository = config.getInitParameter(PARAM_AXIS2_REPOSITORY_URL); if (repository != null) { loadRepositoryFromURL(new URL(repository)); log.debug("loaded repository from url: " + repository); loadRepository(repository); log.debug("loaded repository from /WEB-INF folder (unpacked war)"); repository = url.toString(); axisConfig.setSystemClassLoader(Thread.currentThread().getContextClassLoader()); loadRepositoryFromURL(url); log.debug("loaded repository from /WEB-INF/ folder (URL)"); loadFromClassPath(); log.debug("loaded repository from classpath"); loadFromClassPath();
loadServicesFromUrl(new URL(repository)); log.debug("loaded services from URL: " + repository); return; loadServicesFromWebInf(); if (config.getServletContext().getRealPath("") != null || config.getServletContext().getRealPath("/") != null) { loadServicesFromUrl(url); log.debug("loaded services from /WEB-INF/ folder (URL)");
log.debug("setting web location string: " + webpath); File weblocation = new File(webpath); setWebLocationString(weblocation.getAbsolutePath()); Loader.getResourceAsStream(DeploymentConstants.AXIS2_CONFIGURATION_RESOURCE); axisConfig = populateAxisConfiguration(axis2Stream);
/** * Initialize the Axis configuration context * * @param config Servlet configuration * @return ConfigurationContext * @throws ServletException */ protected ConfigurationContext initConfigContext(ServletConfig config) throws ServletException { try { ConfigurationContext configContext = ConfigurationContextFactory .createConfigurationContext(new WarBasedAxisConfigurator(config)); configContext.setProperty(Constants.CONTAINER_MANAGED, Constants.VALUE_TRUE); return configContext; } catch (Exception e) { log.info(e); throw new ServletException(e); } }
String repository = config.getInitParameter(PARAM_AXIS2_REPOSITORY_PATH); if (repository != null) { loadRepository(repository); log.debug("loaded repository from path: " + repository); repository = config.getInitParameter(PARAM_AXIS2_REPOSITORY_URL); if (repository != null) { loadRepositoryFromURL(new URL(repository)); log.debug("loaded repository from url: " + repository); loadRepository(repository); log.debug("loaded repository from /WEB-INF folder (unpacked war)"); repository = url.toString(); axisConfig.setSystemClassLoader(Thread.currentThread().getContextClassLoader()); loadRepositoryFromURL(url); log.debug("loaded repository from /WEB-INF/ folder (URL)"); loadFromClassPath(); log.debug("loaded repository from classpath"); loadFromClassPath();
loadServicesFromUrl(new URL(repository)); log.debug("loaded services from URL: " + repository); return; loadServicesFromWebInf(); if (config.getServletContext().getRealPath("") != null || config.getServletContext().getRealPath("/") != null) { loadServicesFromUrl(url); log.debug("loaded services from /WEB-INF/ folder (URL)");
log.debug("setting web location string: " + webpath); File weblocation = new File(webpath); setWebLocationString(weblocation.getAbsolutePath()); Loader.getResourceAsStream(DeploymentConstants.AXIS2_CONFIGURATION_RESOURCE); axisConfig = populateAxisConfiguration(axis2Stream);
/** * Initialize the Axis configuration context * * @param config Servlet configuration * @return ConfigurationContext * @throws ServletException */ protected ConfigurationContext initConfigContext(ServletConfig config) throws ServletException { try { ConfigurationContext configContext = ConfigurationContextFactory .createConfigurationContext(new WarBasedAxisConfigurator(config)); configContext.setProperty(Constants.CONTAINER_MANAGED, Constants.VALUE_TRUE); return configContext; } catch (Exception e) { log.info(e); throw new ServletException(e); } }
public void engageGlobalModules() throws AxisFault { engageModules(); }