This content has been marked as final.
Show 2 replies
-
1. Re: Overview of howto register beans with Weld CDI
nickarls Jun 16, 2010 2:14 PM (in response to mpokorny)Well I doubt you can whip up anything portable but for Weld-specific stuff you probably want to look at BeanManagerImpl and up the Contexts hierarchy.
-
2. Re: Overview of howto register beans with Weld CDI
pmuir Jul 21, 2010 7:43 AM (in response to mpokorny)You can't change the bean metadata at runtime in CDI (so you couldn't change the type or the qualifers), but you could change how the instance is produced - just write a bean that changes how create() is called when you call some method on it.