[webbeans-dev] Bean.isProxyable()

Benjamin Graf Benjamin.Graf at gmx.net
Tue Jan 13 16:29:52 EST 2009


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
>>
>>     
>
>
>
>   




More information about the weld-dev mailing list