"adrian(a)jboss.org" wrote : Why the name of the method? It should be a property
name.
| Is this a spring thing again? :-)
|
Not that I would know.
I think they have a interface you need to implement to get your name injected -
BeanNameAware.
I thought it is more flexible to have a method, not just setter - three more chars to
write. ;-)
And I always liked applyName. :-)
"adrian(a)jboss.org" wrote :
| And do you support something like?
|
|
| | @InjectContextName
| | public void setName(Stinrg name) {}
| | or
| | @Inject(fromContext="name")
| | public void setName(String name) {}
| |
Support it in what way?
This should be a part of our annotation support if that's what you mean.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063865#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...