[seam-dev] Registered a bean at runtime

Pete Muir pmuir at redhat.com
Tue May 3 13:53:44 EDT 2011


You can't register a new bean at runtime. You can of course create new bean instances with the @New qualifier.

On 3 May 2011, at 10:34, Antoine Sabot-Durand wrote:

> Hi,
> 
> I'll need to dynamically create scoped CDI beans. I guess I have to use the @New qualifier but as I didn't found example in other modules (was looking for the Seam Groovy module port), I was wondering if it's a good practice. Feedback or example are welcome.
> 
> 
> Antoin
> _______________________________________________
> seam-dev mailing list
> seam-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/seam-dev




More information about the seam-dev mailing list