[webbeans-dev] Bean.isProxyable()

Pete Muir pmuir at redhat.com
Tue Jan 13 17:52:19 EST 2009


Yes, we aren't adding this method :-)

On 13 Jan 2009, at 21:29, Benjamin Graf wrote:

> Well, I agree with Gavin. I don't see any additional benefit over the
> current approach with proxytesting the injection point types.
>
> Benjamin
>
> Marcell Manfrin Barbacena schrieb:
>> +1. But it shouldn't throw exception because the method returns a  
>> boolean.
>>
>> []s
>>
>> On Mon, Jan 12, 2009 at 9:42 AM, Gavin King <gavin at hibernate.org>  
>> wrote:
>>
>>> No, it just inspects the API type of the injection point and applies
>>> the rules. It does not even need to know the actual implementation
>>> class.
>>>
>>> On Mon, Jan 12, 2009 at 10:59 PM, Pete Muir <pmuir at redhat.com>  
>>> wrote:
>>>
>>>> I think that Bean needs an isProxyable() method to allow  
>>>> Manager.validate()
>>>> to check whether a bean in a normal scope can be proxied, and if  
>>>> not throw
>>>> the UnproxyableDependencyException.
>>>>
>>>> WDYT?
>>>> _______________________________________________
>>>> webbeans-dev mailing list
>>>> webbeans-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>>>>
>>>>
>>>
>>> --
>>> Gavin King
>>> gavin.king at gmail.com
>>> http://in.relation.to/Bloggers/Gavin
>>> http://hibernate.org
>>> http://seamframework.org
>>> _______________________________________________
>>> webbeans-dev mailing list
>>> webbeans-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>>>
>>>
>>
>>
>>
>>
>
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev




More information about the weld-dev mailing list