[cdi-dev] JSR-392

Mark Struberg struberg at yahoo.de
Fri Mar 28 18:18:41 EDT 2014


I'm asking myself if forbiding various methods until AfterDeploymentValidation isn't a bit too tight.

It does of course make no sense to call getBeans, etc until AfterBeanDiscovery. 
But it could make sense to allow it IN AfterBeansDiscovery. Of course, adding beans in ABD would need to reset some resolver-caches maybe (depends on the actual container implementation). But at least it would make sense and would be pretty predictiable (in contrast to calling getBeans _during_ the class-scanning).


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20140328/57c74447/attachment.html 

More information about the cdi-dev mailing list