Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3191

CacheFactoryResourceDefinition registers read-only configuration attributes

    XMLWordPrintable

Details

    Description

      @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.

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: