As Emanuel said, those attributes are still there just for backward compatibility (talking about current master)<br>and all they do now is return "value" part of "key=value" address.<br><br>We had quite some discussion on how to properly handle this and currently we have them as read-only attributes that return part of address.<br>
<br>There might still be some places where this is not the case, but they will soon be cleaned up too.<br><br>--<br>tomaz<br><br><div class="gmail_quote">On Mon, Oct 22, 2012 at 2:25 PM, Emanuel Muckenhuber <span dir="ltr"><<a href="mailto:emuckenh@redhat.com" target="_blank">emuckenh@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Yes, this approach is inconsistent and afaik those attributes are only<br>
still there for backwards compatibility.<br>
<div class="HOEnZb"><div class="h5"><br>
On 10/22/2012 11:59 AM, Heiko Braun wrote:<br>
><br>
><br>
> Some resource reflect their "key”, using a "name" attribute. For instance:<br>
><br>
><br>
> /host=master/server-config=<key>:read-resource<br>
><br>
> {<br>
> name=key;<br>
> [...]<br>
> }<br>
><br>
><br>
> But this approach is not consistently used across the model. To further automate the integration of tools like the web console, it would be helpful to provide consistent access to the resource key. I can see two possible approaches:<br>
><br>
> a) predefined attribute name like "key":<br>
> - does introduce a list system attribute names that cannot be used by resources<br>
> - the benefit: it would simply show up as regular attributes<br>
><br>
> b) an alternate place for meta data like "key":<br>
> - easily extensible<br>
> - no naming conflicts<br>
> - but requires dedicated access to system attributes<br>
><br>
><br>
> Any thoughts on this?<br>
><br>
> Regards, Ike<br>
> _______________________________________________<br>
> jboss-as7-dev mailing list<br>
> <a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
><br>
_______________________________________________<br>
jboss-as7-dev mailing list<br>
<a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
</div></div></blockquote></div><br>