"scott.stark(a)jboss.org" wrote :
| Correct? Is there a full generalization super-depend element, whenRequired=X,
dependentState=Y? The AbstractDependencyItem class supports this information.
|
Yes. There's no generic dependency in the xml, but some of the other
xml lets you set both, e.g. install
Programmatically, you can add whatever dependency you like.
There's a feature request somewhere to let you do:
| <bean ...>
| <dependencies>
| <my-dependency1 xmlns="foo" .../>
| <my-dependency2 xmlns="foo" .../>
| </dependencies>
|
i.e. write your own dependency like you can write your own "Requirement"
in the classloaders. :-)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182198#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...