Methods used in unchecked element of the deployment descriptor
must be methods defined in the enterprise bean's component and/or home
interface.
result = getInitializedResult();
compName = getVerifierContext().getComponentNameConstructor();
if ((descriptor instanceof EjbSessionDescriptor) ||
(descriptor instanceof EjbEntityDescriptor)) {
Set<MethodDescriptor> permissionedMethods = descriptor.getUncheckedMethodDescriptors();
if (permissionedMethods!=null && permissionedMethods.size() >0) {
for (MethodDescriptor methodDescriptor : permissionedMethods)
checkMethodStyles(methodDescriptor, descriptor);
}
}
if(result.getStatus() != Result.FAILED) {
addGoodDetails(result, compName);
result.passed(smh.getLocalString
(getClass().getName() + ".passed",
"Valid unchecked method(s) found."));
}
return result;