public void updateRemote() throws Exception { findServicesInDirectory(deploymentEngine.getServicesDir()); update(); }
public void updateRemote() throws Exception { findServicesInDirectory(deploymentEngine.getServicesDir()); update(); }
public void loadServicesFromUrl(URL repoURL) { try { String path = servicesPath == null ? DeploymentConstants.SERVICE_PATH : servicesPath; if (!path.endsWith("/")) { path += "/"; } String repoPath = repoURL.getPath(); if (!repoPath.endsWith("/")) { repoPath += "/"; repoURL = new URL(repoURL.getProtocol() + "://" + repoPath); } URL servicesDir = new URL(repoURL, path); URL filelisturl = new URL(servicesDir, "services.list"); ArrayList<String> files = getFileList(filelisturl); repoListener = new RepositoryListener(this, false); for (Object file : files) { String fileUrl = (String) file; if (fileUrl.endsWith(".aar")) { URL servicesURL = new URL(servicesDir, fileUrl); repoListener.addURLToDeploy(servicesURL, getServiceDeployer(), WSInfo.TYPE_SERVICE); } } repoListener.update(); //Loading other type of services such as custom deployers loadCustomServices(repoURL); } catch (MalformedURLException e) { log.error(e.getMessage(), e); } }
public void loadServicesFromUrl(URL repoURL) { try { String path = servicesPath == null ? DeploymentConstants.SERVICE_PATH : servicesPath; if (!path.endsWith("/")) { path += "/"; } String repoPath = repoURL.getPath(); if (!repoPath.endsWith("/")) { repoPath += "/"; repoURL = new URL(repoURL.getProtocol() + "://" + repoPath); } URL servicesDir = new URL(repoURL, path); URL filelisturl = new URL(servicesDir, "services.list"); ArrayList<String> files = getFileList(filelisturl); repoListener = new RepositoryListener(this, false); for (Object file : files) { String fileUrl = (String) file; if (fileUrl.endsWith(".aar")) { URL servicesURL = new URL(servicesDir, fileUrl); repoListener.addURLToDeploy(servicesURL, getServiceDeployer(), WSInfo.TYPE_SERVICE); } } repoListener.update(); //Loading other type of services such as custom deployers loadCustomServices(repoURL); } catch (MalformedURLException e) { log.error(e.getMessage(), e); } }
/** Finds a list of services in the folder and adds to wsInfoList. */ public void checkServices() { findServicesInDirectory(deploymentEngine.getServicesDir()); loadOtherDirectories(); update(); }
/** Finds a list of services in the folder and adds to wsInfoList. */ public void checkServices() { findServicesInDirectory(deploymentEngine.getServicesDir()); loadOtherDirectories(); update(); }
repoListener.update(); org.apache.axis2.util.Utils.calculateDefaultModuleVersion(axisConfig.getModules(), axisConfig);
repoListener.update(); org.apache.axis2.util.Utils.calculateDefaultModuleVersion(axisConfig.getModules(), axisConfig);