// attribute for ejbTimeout
if( descriptor.isTimedObject() &&
(method.getName()).equals("ejbTimeout") )
continue;
ContainerTransaction txAttr = descriptor.
getContainerTransactionFor(method);
if(txAttr == null)
{
if(getVerifierContext().getJavaEEVersion().compareTo(SpecVersionMapper.JavaEEVersion_5)<0) {
// transaction attribute is not specified for method.
addErrorDetails(result, compName);
result.failed(smh.getLocalString
(getClass().getName()+".failed4",
"Error : Message-driven bean [ {0} ] method definition [ {1} ] does not have a valid container transaction descriptor.",
new Object[] {descriptor.getName(), method.getName()}));
} // default transaction attr in EJB 3.0 is REQUIRED
continue;
}
String ta = txAttr.getTransactionAttribute();
if (ContainerTransaction.REQUIRED.equals(ta) ||
ContainerTransaction.NOT_SUPPORTED.equals(ta)) {
addGoodDetails(result, compName);
result.passed(smh.getLocalString
(getClass().getName()+".passed",