[jboss-jira] [JBoss JIRA] (AS7-3191) CacheFactoryResourceDefinition registers read-only configuration attributes
Jason Greene (JIRA)
jira-events at lists.jboss.org
Fri Jan 20 17:11:19 EST 2012
[ https://issues.jboss.org/browse/AS7-3191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Greene reassigned AS7-3191:
---------------------------------
Assignee: Richard Achmatowicz (was: Paul Ferraro)
Another management one
> 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: Richard Achmatowicz
> 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
More information about the jboss-jira
mailing list