Test if a javax.resource.cci.InterfactionSpec implementation has been
provided in the rar file
Result result = getInitializedResult();
ComponentNameConstructor compName = getVerifierContext().getComponentNameConstructor();
if (isCCIImplemented(descriptor, result)) {
//File jarFile = Verifier.getJarFile(descriptor.getModuleDescriptor().getArchiveUri());
// File f=Verifier.getArchiveFile(descriptor.getModuleDescriptor().getArchiveUri());
findImplementorOf(descriptor, "javax.resource.cci.InteractionSpec", result);
} else {
result.addNaDetails(smh.getLocalString
("tests.componentNameConstructor",
"For [ {0} ]",
new Object[] {compName.toString()}));
result.notApplicable(smh.getLocalString
("com.sun.enterprise.tools.verifier.tests.connector.cci.InteractionExistence.notapp",
"NotApplicable : The CCI interfaces do not seem to be implemented by this resource adapter"));
}
return result;