[jboss-dev-forums] [Design of POJO Server] - Moving ServiceBindingManager config out of bootstrap

bstansberry@jboss.com do-not-reply at jboss.com
Thu Apr 30 16:11:13 EDT 2009


For 5.1.0.GA, I'd like to move the SBM deployment out of the bootstrap. There's been discussion on the dev list of doing this for AS 6, since the ProfileService impl will support more fine-grained sub-profiles. But I see now it's needed for 5.1 as well if we ever want to be able to have editable managed objects for the SBM components.[1] I think getting that working in 5.1 is important, since it provides hooks for future mgmt tooling improvements.

My work on JBAS-6259 shows me that with bindings.xml in the bootstrap, edits to the components aren't persisted.

The reason SBM deployment is in the bootstrap is it has to come before conf/jboss-service.xml.  But that doesn't mean it has to be in bootstrap. I propose to simply change StaticProfileFactory and expose a "bindingsURI" property, which if set will result in a sub-profile that deploys before the conf/jboss-service.xml sub-profile. I've done this locally and it works fine.

Any comments?


[1] https://jira.jboss.org/jira/browse/JBAS-6259

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4227902#4227902

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4227902



More information about the jboss-dev-forums mailing list