On 01/12/2012 07:09 PM, Kabir Khan wrote:
>> - add node-type=? and use it for add and non-instance
specific
>> operations. 'add' will still be listed if you right-click on a specific
>> instance, though (the same true about the command line actually). We
>> could filter those, although that would be covering the weirdness of the
>> management model.
> I like that idea. I'll give it a try. But I'm thinking the folder will
> be "node-type=*" instead of "node-type=?".
>
> WDYT?
That sounds fine although that should only really be done for things with the add on a
wildcard. Also, we haven't solved the problem of things that have expected children,
e.g. the
/subsystem=jmx/connector=jmx where jmx is the ONLY name allowed for the connector. There
are a few other places in the model that have this same setup as well.
But these don't appear to be a part of the management model. According
to the model :) Let's fix the model, I'd say. Unless I'm missing
something...
Alexey