code: private EJBMethodInfoImpl getEJBMethodInfo(Method method)
      {
          // Get target method signature.
          String targetSignature = MethodAttribUtils.methodSignature(method);
  
          // Search array of EJBMethodInfo object until the one that matches
          // target signature is found or all array elements are processed.
          EJBMethodInfoImpl minfo = null;
          int n = ivMdbMethods.length;
          for (int i = 0; i < n; ++i)
          {
              minfo = ivMdbMethods[i];
              if (targetSignature.equals(minfo.getMethodSignature()))
              {
                  return minfo;
              }
          }
  
          // Method not found, so return null.
          return null;
      }
docs: Get the EJBMethodInfo object associated with a specified Method object.
  
  @param method - the target of this request.
  
  @return EJBMethodInfo for target of this request. Note, a null reference
  is returned if Method is not a method of this EJB component.