"adrian(a)jboss.org" wrote : * An invalid assumption in your argument
| anonymous wrote :
| | However, this introduces a precondition that all POJOs with dependencies on MC
Beans are installed into the MC itself. In many cases, this is not possible.
| |
|
| There are at least four ways to inject objects that are not managed by the MC.
No, I need to inject *into* a bean not managed by MC.
I'll proceed for now by letting the Host environment maintain a reference to the
Kernel, as you'd suggested.
My stance is that it's not always possible to do pure IoC. Seems like you object to
my use of MC as an Object Store
* JNDI ObjectFactory.getObjectInstance() < Creates new instance of the Object Factory
on every lookup
* Struts Action Handler
* Servlet
* Anything else not instantiated by the developer
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151463#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...