Marius Bogoevici [
http://community.jboss.org/people/marius.bogoevici] replied to the
discussion
"Deferring instance creation/injection to CDI"
To view the discussion, visit:
http://community.jboss.org/message/556722#556722
--------------------------------------------------------------
Could we possibly change the way in which the instantiator instance is handed over to the
Ejb3Deployer? That is, moving from creating the instantiator in the appropriate deployer
and adding it as an attachment, to registering a BeanMetaData item and letting the MC do
the wiring. The latter could be helpful, since for example in the case of Weld integration
we need a reference to the BootstrapBean and letting the MC do the wiring would ensure
both the dependency injection and proper ordering of components (e.g. EJBs including
singletons are not started until the instantiator is ready).
If the instantiator mechanism is to become more generic and used in other cases, then
using the MC would help.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/556722#556722]
Start a new discussion in EJB 3.0 Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]