I got your point about SPI/implementation.
anonymous wrote : How would you do it?
|
Because injection, as you said, is already doing a search - but only up the hierarchy -
wouldn't be more coherent to provide this as another search strategy?
Something like
| <inject bean="something" search="leaves"/>
|
| or
|
| <inject bean="something"><search
type="leaves"/></inject>
|
Unfortunately when I tried to find the best way where to 'plug' it, I got lost
somewhere around FromContext as called within AbstractInjectionValueMetaData.getValue.
Guess I need to understand full notion of this first.
---
Wish I had more time to dig into JBossMC code.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206102#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...