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(a)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(a)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(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/webbeans-dev
>>
>>
>
> --
> Gavin King
> gavin.king(a)gmail.com
>
http://in.relation.to/Bloggers/Gavin
>
http://hibernate.org
>
http://seamframework.org
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/webbeans-dev
>
>