Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1515

Improve PersistentResourceDefinition to make it easier to register attribute write handlers

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • Management
    • None

    Description

      Currently if you want to take register custom write handler you need to override whole registerAttributes methods and do it yourself all the way.

      We could add PersistentResourceDefinition.getAttributeHandlers() method that returns
      a Map<String, OperationStepHandler>.
      And then registerAttributes uses the map instead of hardcoding ReloadRequiredWriteAttributeHandler. Default impl just fills the map values with
      ReloadRequiredWriteAttributeHandler.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tomazcerar Tomaž Cerar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: