ResourceAdapter class must be available if the resource adapter provides
inbound communication
Result result = getInitializedResult();
ComponentNameConstructor compName =
getVerifierContext().getComponentNameConstructor();
String resourceAdapterClass = descriptor.getResourceAdapterClass();
if(resourceAdapterClass.equals("") && descriptor.getInBoundDefined())
{
// resourceadapter-class cannot be null
addErrorDetails(result, compName);
result.failed(smh.getLocalString
(getClass().getName() + ".failed",
"ResourceAdapter class not found"));
}
else
{
addGoodDetails(result, compName);
result.notApplicable(smh.getLocalString
("com.sun.enterprise.tools.verifier.tests.connector.resourceadapter.notApp",
"Valid ResourceAdapter class."));
}
return result;