result = getInitializedResult();
compName = getVerifierContext().getComponentNameConstructor();
if ((descriptor instanceof EjbSessionDescriptor) ||
(descriptor instanceof EjbEntityDescriptor)) {
Map<MethodDescriptor,
ContainerTransaction> transactionalMethods = descriptor.getMethodContainerTransactions();
if (transactionalMethods!=null) {
for (MethodDescriptor methodDescriptor : transactionalMethods.keySet())
checkMethodStyles(methodDescriptor, descriptor);
}
}
if(result.getStatus() != Result.FAILED) {
addGoodDetails(result, compName);
result.passed(smh.getLocalString
(getClass().getName() + ".passed",
"Valid container transaction method(s) found."));
}
return result;