[jboss-user] [JBoss Microcontainer Development] - Weld - pull from MC

Kabir Khan do-not-reply at jboss.com
Wed Jul 7 11:49:08 EDT 2010

Kabir Khan [http://community.jboss.org/people/kabir.khan%40jboss.com] replied to the discussion

"Weld - pull from MC"

To view the discussion, visit: http://community.jboss.org/message/551520#551520

So decorators are not supported for external beans no matter whether they are pushed or pulled.

Also, I found that when we have a "pushed" external bean with a producer method which is wrapped with an alternative Producer implementation (such as our ExisitingInstanceMethodProducer), I can't see anything in the CDI api to be able to figure out which bean manager the call came from. i.e. there does not seem to be anything in the ProcessProducer event or in the CreationContext passed in to Producer.produce(). This means it is impossible to have producer methods with injected parameters in these producer methods coming from external beans.

This works out of the box with the "pull" approach.


Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer Development at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100707/1cb2e44c/attachment-0001.html 

More information about the jboss-user mailing list