if (aDepParams == null || aDepParams.getAll() == null) {
return; // nothing to do
}
try {
CasProcessorDeploymentParam param = aDepParams.get(Constants.VNS_HOST);
if (param == null || param.getParameterValue() == null
|| param.getParameterValue().trim().length() == 0) {
throw new ResourceConfigurationException(
ResourceInitializationException.CONFIG_SETTING_ABSENT,
new Object[] { "parameter" }, new Exception(CpmLocalizedMessage
.getLocalizedMessage(CPMUtils.CPM_LOG_RESOURCE_BUNDLE,
"UIMA_CPM_EXP_deploy_params_not_defined__WARNING", new Object[] {
Thread.currentThread().getName(), aCasProcessorName,
Constants.VNS_HOST })));
}
param = aDepParams.get(Constants.VNS_PORT);
if (param == null || param.getParameterValue() == null
|| param.getParameterValue().trim().length() == 0) {
throw new ResourceConfigurationException(
ResourceInitializationException.CONFIG_SETTING_ABSENT,
new Object[] { "parameter" }, new Exception(CpmLocalizedMessage
.getLocalizedMessage(CPMUtils.CPM_LOG_RESOURCE_BUNDLE,
"UIMA_CPM_EXP_deploy_params_not_defined__WARNING", new Object[] {