org.apache.axis2.util.Utils.calculateDefaultModuleVersion()方法的使用及代码示例

x33g5p2x  于2022-01-31 转载在 其他  
字(3.7k)|赞(0)|评价(0)|浏览(110)

本文整理了Java中org.apache.axis2.util.Utils.calculateDefaultModuleVersion()方法的一些代码示例,展示了Utils.calculateDefaultModuleVersion()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Utils.calculateDefaultModuleVersion()方法的具体详情如下:
包路径:org.apache.axis2.util.Utils
类名称:Utils
方法名:calculateDefaultModuleVersion

Utils.calculateDefaultModuleVersion介绍

暂无

代码示例

代码示例来源:origin: apache/axis2-java

org.apache.axis2.util.Utils.calculateDefaultModuleVersion(axisConfig.getModules(),
    axisConfig);
axisConfig.validateSystemPredefinedPhases();

代码示例来源:origin: org.apache.axis2/axis2-kernel

org.apache.axis2.util.Utils.calculateDefaultModuleVersion(axisConfig.getModules(),
    axisConfig);
axisConfig.validateSystemPredefinedPhases();

代码示例来源:origin: org.apache.axis2/axis2-kernel

public void loadRepository(String repoDir) throws DeploymentException {
  File axisRepo = new File(repoDir);
  if (!axisRepo.exists()) {
    throw new DeploymentException(
        Messages.getMessage("cannotfindrepo", repoDir));
  }
  setDeploymentFeatures();
  prepareRepository(repoDir);
  // setting the CLs
  setClassLoaders(repoDir);
  repoListener = new RepositoryListener(this, false);
  org.apache.axis2.util.Utils
      .calculateDefaultModuleVersion(axisConfig.getModules(), axisConfig);
  try {
    try {
      axisConfig.setRepository(axisRepo.toURI().toURL());
    } catch (MalformedURLException e) {
      log.info(e.getMessage());
    }
    axisConfig.validateSystemPredefinedPhases();
  } catch (AxisFault axisFault) {
    throw new DeploymentException(axisFault);
  }
}

代码示例来源:origin: apache/axis2-java

public void loadRepository(String repoDir) throws DeploymentException {
  File axisRepo = new File(repoDir);
  if (!axisRepo.exists()) {
    throw new DeploymentException(
        Messages.getMessage("cannotfindrepo", repoDir));
  }
  setDeploymentFeatures();
  prepareRepository(repoDir);
  // setting the CLs
  setClassLoaders(repoDir);
  repoListener = new RepositoryListener(this, false);
  org.apache.axis2.util.Utils
      .calculateDefaultModuleVersion(axisConfig.getModules(), axisConfig);
  try {
    try {
      axisConfig.setRepository(axisRepo.toURI().toURL());
    } catch (MalformedURLException e) {
      log.info(e.getMessage());
    }
    axisConfig.validateSystemPredefinedPhases();
  } catch (AxisFault axisFault) {
    throw new DeploymentException(axisFault);
  }
}

代码示例来源:origin: org.apache.axis2/axis2-kernel

public void loadFromClassPath() throws DeploymentException {
  //loading modules from the classpath
  new RepositoryListener(this, true);
  org.apache.axis2.util.Utils.calculateDefaultModuleVersion(
      axisConfig.getModules(), axisConfig);
  axisConfig.validateSystemPredefinedPhases();
  try {
    engageModules();
  } catch (AxisFault axisFault) {
    log.info(Messages.getMessage(DeploymentErrorMsgs.MODULE_VALIDATION_FAILED,
        axisFault.getMessage()));
    throw new DeploymentException(axisFault);
  }
}

代码示例来源:origin: apache/axis2-java

Utils.calculateDefaultModuleVersion(axisConfig.getModules(), axisConfig);
  serviceRegistry.resolve();
} catch (IOException e) {

代码示例来源:origin: apache/axis2-java

public void loadFromClassPath() throws DeploymentException {
  //loading modules from the classpath
  new RepositoryListener(this, true);
  org.apache.axis2.util.Utils.calculateDefaultModuleVersion(
      axisConfig.getModules(), axisConfig);
  axisConfig.validateSystemPredefinedPhases();
  try {
    engageModules();
  } catch (AxisFault axisFault) {
    log.info(Messages.getMessage(DeploymentErrorMsgs.MODULE_VALIDATION_FAILED,
        axisFault.getMessage()));
    throw new DeploymentException(axisFault);
  }
}

代码示例来源:origin: org.codehaus.fabric3/fabric3-binding-ws-axis2

org.apache.axis2.util.Utils.calculateDefaultModuleVersion(axisConfiguration.getModules(), axisConfiguration);
axisConfiguration.validateSystemPredefinedPhases();

代码示例来源:origin: org.apache.tuscany.sca/tuscany-binding-ws-runtime-axis2

org.apache.axis2.util.Utils.calculateDefaultModuleVersion(axisConfiguration.getModules(), 
                             axisConfiguration);
axisConfiguration.validateSystemPredefinedPhases();

相关文章