[jopr-issues] [JBoss JIRA] Commented: (JOPR-105) ManagedComponentComponent.invokeOperation() assumes there is only one ManagedOperation with a given name, which may not be true

Charles Crouch (JIRA) jira-events at lists.jboss.org
Mon Mar 23 10:57:26 EDT 2009


    [ https://jira.jboss.org/jira/browse/JOPR-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12458570#action_12458570 ] 

Charles Crouch commented on JOPR-105:
-------------------------------------

Do we actually have any components with operations with the same name right now? If not, this should be dropped to minor.

> ManagedComponentComponent.invokeOperation() assumes there is only one ManagedOperation with a given name, which may not be true
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JOPR-105
>                 URL: https://jira.jboss.org/jira/browse/JOPR-105
>             Project: Jopr
>          Issue Type: Bug
>          Components: Plugin - JBoss AS 5
>    Affects Versions: 2.1
>            Reporter: Ian Springer
>            Assignee: Ian Springer
>             Fix For: 2.2
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> The ManagedComponent could have more than one operation with a given name (i.e. overloaded operations), so we need to examine the parameters too to figure out the correct operation to invoke.
> Here's an email I sent to Scott:
> Ian Springer wrote:
> > Scott-
> >
> > Quick question. Will ManagedComponent.getOperations() ever return multiple operations with the same name (i.e. overloaded operations)?
> >
> > Thanks,
> > Ian 
> Yes, it should.

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

        



More information about the jopr-issues mailing list