"jaikiran" wrote :
|
| 1) What does @Depends signify at a field/method level? I thought @Depends was more for
specifying a dependency. But going by the code in the
DependsMethodInjector/DependsFieldInjector, it seems to be doing injection.
|
Just read the javadoc of org.jboss.ejb3.annotation.Depends:
anonymous wrote :
| Annotation for specifying a deployment dependency for a bean. If placed on a setter
method or field an MBean proxy will be injected as well.
So injection is intentional.
"jaikiran" wrote :
| 2) Is this a valid use of @Depends?
|
Based on the above javadoc statement, looks like a valid usecase.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200759#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...