[webbeans-dev] Replacement pattern for Manager.getInstanceByType

Gavin King gavin.king at gmail.com
Thu May 28 03:28:47 EDT 2009


you mean you want to examine the attributes of the Bean object?

I dunno - I would recommend against writing code like that.

On Wed, May 27, 2009 at 10:39 PM, Nicklas Karlsson <nickarls at gmail.com> wrote:
> On Thu, May 28, 2009 at 7:59 AM, Gavin King <gavin.king at gmail.com> wrote:
>> What is a factory method? Why would it not be a producer method that injects
>> Instance?
>
> I meant producer method, of course.
>
> I was just looking for a scenario where you would need to examine the
> existence of several beans before determining what to actually
> produce.
>
> ---
> Nik
>



-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org



More information about the weld-dev mailing list