« Return to Thread: methods with same name

Re: methods with same name

by davidmarginian :: Rate this Message:

Reply to Author | View in Thread

That question doesn't even make sense.  The parameter list is what makes
a method unique.

Nicolás Pace wrote:

> On Tue, Jun 9, 2009 at 8:16 PM, David Marginian<david@...> wrote:
>  
>> There is no how, it should just work.  I thought we had a few tests in
>> testdwr that cover this but I don't see them.  If they don't exist I will
>> create a JIRA for us to add them.  If you continue to have problems I
>> suggest sending us the class that you are trying to remote.
>>    
>
> I'm not trying to remote anything :D
> I'm working in integrating dwr, acegi and method invocation authorization.
> We have done a service that asks acegi if a principal is authorized to
> call a method, and we had problems because we where taking into
> account just the methodName and not the arguments.
> Is there anything to differeciate two calls to different methods with
> the same name apart from the arguments?
>
> Regards,
>
>
>  
>> Nicolás Pace wrote:
>>    
>>> On Tue, Jun 9, 2009 at 6:07 PM, Lance Java<lance.java@...>
>>> wrote:
>>>
>>>      
>>>> I note that this issue is resolved in v3.0
>>>> http://bugs.directwebremoting.org/bugs/browse/DWR-274
>>>>
>>>> I've never tried it though.
>>>>
>>>>        
>>> How do you do this? Which classes are involved?
>>>
>>> Regards
>>>
>>>
>>>      
>>>> 2009/6/9 Nicolás Pace <nicopace@...>
>>>>
>>>>        
>>>>> We are all supposing that methods there are not repetead method names,
>>>>> aren't we?
>>>>> i don't find the way to refernce one method between 2 with the same
>>>>> name (different attributes/return type).
>>>>> Regards,
>>>>>
>>>>> --
>>>>> Ing. Nicolás Pace
>>>>> http://www.linkedin.com/in/nickar/
>>>>> http://www.jornadasdelsur.org.ar/
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@...
>>>>> For additional commands, e-mail: users-help@...
>>>>>
>>>>>
>>>>>          
>>>>        
>>>
>>>
>>>      
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>>
>>    
>
>
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: methods with same name