edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Debrunner <...@debrunners.com>
Subject Re: Standard commands for Quarks applications?
Date Mon, 16 May 2016 14:37:30 GMT
On 5/16/2016 6:51 AM, Susan Cline wrote:
>
>> On May 10, 2016, at 3:58 PM, Dan Debrunner <djd@debrunners.com

>> JsonControlService registers the MBeans and allows a JSON control
>> request object to invoke an operation. The JSON object format is
>> described (briefly) in the package for the JsonControlService but its
>> formatting was messed up so it doesn't appear in the Javadoc (I'll fix
>> that). The JSON control request object is passed directly into the
>> JsonControlService instance to invoke the method.
>
> Has this been fixed yet?  When I look at the javadoc for
> JsonControlService I see:
>
> A JSON object passed to |controlRequest|
> <file:///Users/susancline/new_git/incubator-quarks/target/docs/javadoc/quarks/runtime/jsoncontrol/JsonControlService.html#controlRequest-com.google.gson.JsonObject->
with
> these name/value pairs is handled as an operation resulting in a method
> call to a void method on a control service MBean interface.
>
>   * |type=|/type/ - MBean type.
>   * |alias=|/alias - Alias of the MBean./
>   * |op=|/name/ - Name of the operation to invoke, this is the method
>     name on the MBean.
>   * |arguments=|/optional list of arguments/ - Arguments passed to the
>     operation (method).
>
> Is this correct now?

The information was correct, the bug was only that it was not showing up 
in the javadoc.

Dan.

Mime
View raw message