I donโt think that you can make individual elements writable (think about it from the point of view of the remote API, the complex type is just DTO, mbean is the remote interface), but I think you can make all the compound attribute available, for example :
public Map<String,String> getConfig() {} public void setConfig(Map<String,String> newConfig) {}
which said, I'm not sure jconsole supports editing compound attributes, even if they are writable.
source share