Excluded methods mechanism used in the ObjectServiceFactory doesn't seem to work
--------------------------------------------------------------------------------

         Key: XFIRE-367
         URL: http://jira.codehaus.org/browse/XFIRE-367
     Project: XFire
        Type: Improvement

  Components: Core  
    Versions: 1.1-beta-1    
    Reporter: Ross Mason
 Assigned to: Dan Diephouse 


When ObjectServiceFactory creates its operations it seems to incorrectly 
evaluated which methods to exclude.  the current method -

protected boolean isValidMethod(final Method method)
    {
        if(ignoredClasses.contains(method.getDeclaringClass().getName())) 
return false;

        final int modifiers = method.getModifiers();

        return Modifier.isPublic(modifiers) && !Modifier.isStatic(modifiers);
    }

Doesn't work for custom ignorred classes where the ignorred class is an 
interface. In this scenario the method.getDeclaringClass() does not return the 
Inteface name, but the FQN of the service class.  We're currently using a 
modified ObjectFactory that just compares the method names.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to