Emanuel Muckenhuber [
http://community.jboss.org/people/emuckenhuber] replied to the
discussion
"domain.xml work"
To view the discussion, visit:
http://community.jboss.org/message/535762#535762
--------------------------------------------------------------
Brian Stansberry wrote:
Requirement #2 is somewhat in conflict with some of what I've read on this thread,
wherein the domain.xml configuration data is applied as an override. That means the
primary and authoritative representation of the domain is the combination of wherever the
overridden configuation values come from + the domain.xml configuration.
That's always going to partially be the case, because all the IOC wiring stuff is
really configuration. But how far are we looking to push this concept? I'm going to
give a specific example below, but I'm less interested in the specifics than the
general issue of how much is meant to be coming from domain.xml.
What you mentioned about "the IOC wiring stuff is really configuration" - seem
to be the one of the problems with configuration in general. Our current management view
is actually a override of the original deployment metadata representing the actual beans.
This requires classloading and the bean deployed, where actual management overrides update
the IOC wiring (BeanMetaData).
So we were talking about using a offline MO (xml) model, defining this override and how a
component is exposed though the management view. In case this would still applies the
question is if this concept of configuration should be externalized in general - using the
same way to register against the namespace/xpath of the domain.xml Scott mentioned.
Basically this seems to be more critical in terms of persistable configuration with
default values, than runtime MOs just dispatching requests or exposing metrics - which
should most probably just be merged into a configuration MO.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/535762#535762]
Start a new discussion in Management Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]