Result result = getInitializedResult();
ComponentNameConstructor compName = getVerifierContext().getComponentNameConstructor();
// String archiveUri = getAbstractArchiveUri(descriptor);
ClosureCompiler closureCompiler=getVerifierContext().getClosureCompiler();
boolean allPassed = closureCompiler.buildClosure(descriptor.getEjbClassName());
if (allPassed) {
result.setStatus(Result.PASSED);
addGoodDetails(result, compName);
result.passed(smh.getLocalString
(getClass().getName() + ".passed",
"All the classes are loadable."));
} else {
result.setStatus(Result.FAILED);
addErrorDetails(result, compName);
result.addErrorDetails(ArchiveClassesLoadableHelper.
getFailedResult(closureCompiler));
result.addErrorDetails(smh.getLocalString
("com.sun.enterprise.tools.verifier.tests.loadableError",
"Please either bundle the above mentioned classes in the application " +
"or use optional packaging support for them."));
}
return result;