Verify that the interface declared in the deployment descriptor
connectionfactory-interface is actually contained in the archive
Result result = getInitializedResult();
ComponentNameConstructor compName = getVerifierContext().getComponentNameConstructor();
if(isCCIImplemented(descriptor, result))
{
/*String interfaceName = descriptor.getConnectionFactoryInterface();
if (interfaceName == null) {
result.addErrorDetails(smh.getLocalString
("tests.componentNameConstructor",
"For [ {0} ]",
new Object[] {compName.toString()}));
result.failed(smh.getLocalString
(getClass().getName() + ".nonexist",
"Error: The deployment descriptor for the resource adapter do not define a connectionfactory-interface"));
}*/
isClassLoadable("javax.resource.cci.ConnectionFactory", 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.notApp",
"The CCI interfaces do not seem to be implemented by this resource adapter"));
}
return result;