[jboss-dev-forums] [Management Development] - domain.xml work

Jason Greene do-not-reply at jboss.com
Thu Apr 1 14:47:30 EDT 2010


Jason Greene [http://community.jboss.org/people/jason.greene%40jboss.com] replied to the discussion

"domain.xml work"

To view the discussion, visit: http://community.jboss.org/message/535257#535257

--------------------------------------------------------------
> (d) and (e) would populate the unprocessed domain.xml fragements to a MetaDataRepository in a domain scope. This is needed since we have to distribute this to the whole domain - so we cannot do system property replacement there, as system properties in some cases could be just for a single instance/node e.g. ports-01.
> Additionally we also need to populate the MetaDataRepository with default values, those have to be kept separate until the point we actually do transformations/injections of the domain metadata itself. Basically to reduce the size of the domain.xml to configuration overrides - additionally we can compare and only store changed values back to the domain.xml

IMO something other than the MDR should be created/used to achieve this. The MDR's design is in many ways incompatible with what we actually want for a domain model. As an example, the notion of scoping is the exact opposite of how an administrator expects the domain.xml to work. An entry in the domain should *override* something expressed in a deployment, not the other way around.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/535257#535257]

Start a new discussion in Management Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2107]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100401/aedcff50/attachment.html 


More information about the jboss-dev-forums mailing list