[cdi-dev] calling 'equals' on a proxy?

Stuart Douglas sdouglas at redhat.com
Mon Mar 14 16:10:47 EDT 2011


The spec does say that this is undefined. 

For client proxies we say that they are equals if they are client proxies to the same bean. 

For other proxies I believe we use identity based equality.

Stuart

On 14/03/2011, at 10:52 PM, Pete Muir wrote:

> Stuart, you had this one worked out right? I believe the spec says the behaviour is unspecified.
> 
> On 7 Mar 2011, at 15:52, Mark Struberg wrote:
> 
>> Hi Pete, others!
>> 
>> Do you remember our discussion about what should happen if equals() gets called on a proxy?
>> 
>> Should it route to the equals method of the currently proxied instance?
>> 
>> LieGrue,
>> strub
>> 
>> 
>> 
>> _______________________________________________
>> cdi-dev mailing list
>> cdi-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/cdi-dev
> 




More information about the cdi-dev mailing list