"adrian(a)jboss.org" wrote :
| But if you don't want to change your code then you can use the "demand"
| instead of "depends' to achieve what you want:
|
| In your case you would
|
| | <demand state="Create">ORBService</demand>
| |
That's not entirely true, since it doesn't do all/exactly what Jonathan asked.
;-)
In this case he's missing dependent state configuration.
He's forced to have ORBService in Installed state, which is something he might not
want since he's fine with just Start.
The demand notion is not the right place for this, since demand/supply concept handles
things beyond contexts handled by MC - a generic match mechanism. And as such some items
we demand might not have dependent state.
Should we create new context-demand notion?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152514#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...