The connector element specifies the URI of a connector
module, relative to the top level of the application package.
ComponentNameConstructor compName = getVerifierContext().getComponentNameConstructor();
Result result = getInitializedResult();
for (Iterator itr = descriptor.getRarDescriptors().iterator(); itr.hasNext();) {
ConnectorDescriptor cond = (ConnectorDescriptor) itr.next();
if (!cond.getModuleDescriptor().getArchiveUri().endsWith(".rar")) {
addErrorDetails(result, compName);
result.failed
(smh.getLocalString
(getClass().getName() + ".failed",
"Error: [ {0} ] does not specify the URI [ {1} ] of a Connector module, relative to the top level of the application package [ {2} ], or does not end with \".rar\"",
new Object[] {cond.getName(), cond.getModuleDescriptor().getArchiveUri(), descriptor.getName()}));
}
}
if(result.getStatus() != Result.FAILED) {
addGoodDetails(result, compName);
result.passed
(smh.getLocalString
(getClass().getName() + ".passed",
"All the Connector URIs are valid."));
}
return result;