CacheFactoryResourceDefinition registers read-only configuration attributes
---------------------------------------------------------------------------
Key: AS7-3191
URL:
https://issues.jboss.org/browse/AS7-3191
Project: Application Server 7
Issue Type: Bug
Components: Domain Management, EJB
Affects Versions: 7.1.0.CR1b
Reporter: Brian Stansberry
Assignee: Paul Ferraro
Fix For: 7.1.0.Final
@Override
public void registerAttributes(ManagementResourceRegistration resourceRegistration) {
for (AttributeDefinition attribute: ATTRIBUTES) {
resourceRegistration.registerReadOnlyAttribute(attribute, null);
}
}
That means the configuration cannot be changed without editing the xml. Needs to be a
registerReadWriteAttribute(). If the change cannot immediately be applied to the relevant
runtime service, register ReloadRequiredWriteAttributeHandler as the write-attribute
handler. The definitions of PASSIVATION_STORE and ALIASES would need update as they say
Flags.RESTART_NONE which implies any change will be applied to runtime services.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira