[jboss-dev-forums] [Management Development] - Profiles in domain.xml

David Lloyd do-not-reply at jboss.com
Fri Jun 4 14:09:23 EDT 2010


David Lloyd [http://community.jboss.org/people/david.lloyd%40jboss.com] replied to the discussion

"Profiles in domain.xml"

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

--------------------------------------------------------------
> Brian Stansberry wrote:
> 
> If I understand you correctly that means the management API we expose is limited to what the users actually configure. It's no longer a fixed API.

Is that not true?  The management API can do two things:
1. Perform operations which update the domain model and possibly the running state of one or more Server, and
2. Read values that reflect the currently running state of one or more configured service (though it's not clear to me how this would work - would the DC relay request and gather the data to present?  would each machine have a monitoring interface for this purpose? etc)

Am I missing something?  All I'm saying is that if nothing is configured for a domain value for a specific running service, then the server determines the default value.  If a new value is configured, it becomes part of the domain configuration and the default is no longer used.  I suppose it also implies that if a value is *removed* then the default takes over again and the value is no longer in the domain model.  (How we represent this would probably depend on the implementation - null or empty lists or whatever).

There's probably some other details to iron out though - for example, if a service is "autovivified" (to steal a Perl term) by another service but it doesn't appear in the domain.xml, how would the user know how to configure it?  They'd have to "define" the service (with the same name) and then configure it how they want.

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

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

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/20100604/d43ef3a6/attachment.html 


More information about the jboss-dev-forums mailing list