[jboss-dev-forums] [JBoss AS7 Development] - Detyped Description of the AS 7 Management Model
Brian Stansberry
do-not-reply at jboss.com
Wed Sep 7 11:31:32 EDT 2011
Brian Stansberry [http://community.jboss.org/people/brian.stansberry] commented on the document
"Detyped Description of the AS 7 Management Model"
To view all comments on this document, visit: http://community.jboss.org/docs/DOC-16317#comment-7574
--------------------------------------------------
You just keep doing add(key, value) calls:
ModelNode address = op.get("address");
address.add("subsystem", "messaging");
address.add("jms-topic", "myexampletopic");
You can discover the legal types (e.g. "jms-topic") for children of the subsystem=messaging resource via the read-resource-description operation described above (the legal keys are the names of the child elements under "children" as described in "Description of Parent/Child Relationships" above). You can also execute the "read-children-types" operation against the subsystem=messaging resource; the response is a list of valid child types.
--------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110907/df6b823c/attachment.html
More information about the jboss-dev-forums
mailing list