Details
-
Bug
-
Resolution: Done
-
Blocker
-
7.1.0.CR1b
-
None
Description
Any attribute that is stored in the persistent configuration (standalone/domain.xml) needs to have be registered via ManagementResourceRegistration.registerReadWriteAttribute(...). This allows the configuration to be updated without forcing the user to edit xml.
If the change to the attribute cannot be immediately reflected in the runtime, then pass an instance of org.jboss.as.controller.ReloadRequiredWriteAttributeHandler to registerReadWriteAttribute as the value for the "writeHandler" parameter.