All work

Select view

Select search mode

 

Allow jmx values created by library to be updated

Completed

Description

Implements `setAttribute` and `setAttributes` on `clojure.java.jmx.Bean`, allowing mbean created by the library to have their values updated. Updates are applies to the state with `merge`.

Environment

None

Attachments

3

Details

Assignee

Reporter

Approval

Accepted

Patch

Code and Test

Priority

Created February 6, 2015 at 5:23 PM
Updated November 27, 2017 at 10:35 PM
Resolved November 27, 2017 at 10:35 PM

Activity

Show:

Juraj MartinkaNovember 27, 2017 at 10:35 PM

Nick BaileyNovember 27, 2017 at 8:22 PM

Hmm the ticket here addressed the case of updating beans within the existing jvm but not beans exposed from another jvm. We should definitely address that, would you mind filing a new ticket?

Juraj MartinkaNovember 26, 2017 at 2:36 AM

For the attribute to be writable via JMX it has to be set as writable - see build-attribute-info.
I cannot find a way how to achieve that with current implementation/api.
What was the intended usage pattern in this case?
Is it ok to update implementation to make attributes writable by default?

Nick BaileyApril 7, 2015 at 10:11 PM

Committed.

Michael NussbaumApril 1, 2015 at 12:01 AM

Looks good to me! Thanks for making the change, didn't know about `await`.

Flag notifications