本文整理了Java中org.apache.axis2.util.Utils.calculateDefaultModuleVersion()
方法的一些代码示例,展示了Utils.calculateDefaultModuleVersion()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Utils.calculateDefaultModuleVersion()
方法的具体详情如下:
包路径:org.apache.axis2.util.Utils
类名称: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();
内容来源于网络,如有侵权,请联系作者删除!