load the declared message bean class from the archive
try {
compName = getVerifierContext().getComponentNameConstructor();
Context context = getVerifierContext();
ClassLoader jcl = context.getClassLoader();
return Class.forName(descriptor.getEjbClassName(), false, getVerifierContext().getClassLoader());
} catch (ClassNotFoundException e) {
Verifier.debug(e);
result.addErrorDetails(smh.getLocalString
("tests.componentNameConstructor",
"For [ {0} ]",
new Object[] {compName.toString()}));
result.failed(smh.getLocalString
("com.sun.enterprise.tools.verifier.tests.ejb.messagebean.classnotfoundexception",
"Cannot load declared message-driven bean component [ {0} ]"));
return null;
}