Yes, the "hacky" thing about the system property approach is it doesn't
create an explicit dependency on the SBM. The value-factory approach does.
But, I think that's OK, at least for AS 5.0.0.
Currently, ServiceBindingManager is deployed in conf/, so for sure it will be deployed
before JBM.
Further, the Naming service depends on SBM, so SBM will always deploy before Naming.
It's possible Naming could someday move to deploy, in which case SBM likely would as
well [1]. If that occurred, we'd have to be sure
jboss.messaging:service=Connector,transport=bisocket deploys after Naming. That should be
doable, since the connector only exists to satisfy the connection factories, and those
have an (undeclared) dependency on Naming. But I think we can cross that bridge when we
come to it, as any move of Naming would have all sorts of implications; this would just be
one.
[1]
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4169051#...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170382#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...