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 ; }
Get the EJBMethodInfo object associated with a specified Method object .