[jboss-jira] [JBoss JIRA] (AS7-3191) CacheFactoryResourceDefinition registers read-only configuration attributes

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Jan 31 10:39:51 EST 2012


     [ https://issues.jboss.org/browse/AS7-3191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry resolved AS7-3191.
-----------------------------------

    Resolution: Done

    
> 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: Brian Stansberry
>             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