[jboss-as7-dev] Detyped Management Model
Heiko Braun
hbraun at redhat.com
Wed Jan 12 07:21:57 EST 2011
Ah, I was under the impression it might be a general concept
(doing recursive calls)
On Jan 12, 2011, at 11:30 AM, Kabir Khan wrote:
> That is just a parameter for that particular operation. recursive=true means return the full model under that node, recursive=false means return a 'pruned' view.
>
> GlobalModelDescriptors contains the operation definitions for my ops with some descriptions
> On 12 Jan 2011, at 09:54, Heiko Braun wrote:
>
>>
>> Thanks Kabir.
>>
>> Can someone explain the "recursive" property?
>>
>> ModelNode operation = createOperation(READ_SUB_MODEL_OPERATION, "profile", "profileA");
>> operation.get(REQUEST_PROPERTIES, RECURSIVE).set(true);
>>
>>
>>
>>
>> On Jan 12, 2011, at 10:38 AM, Kabir Khan wrote:
>>
>>>
>>> On 12 Jan 2011, at 09:05, Heiko Braun wrote:
>>>
>>>>
>>>> Referring to:
>>>> http://community.jboss.org/wiki/DetypedRepresentationoftheAS7ManagementModel
>>>>
>>>> Pretty good explanation, Brian. I think it would be helpful to add some Java examples,
>>>> how to read and update portions of the model.
>>>
>>> Some wip here for reading:
>>> https://github.com/kabir/jboss-as/blob/detyped2/controller/src/test/java/org/jboss/as/controller/test/GlobalOperationsTestCase.java
>>>
>>> Probably something in emmanuel's tree:
>>> https://github.com/emuckenhuber/jboss-as/commit/6d213c3b40b2444862a26506b6ed845f8c9ba70f
>>
>
More information about the jboss-as7-dev
mailing list