Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14006

Consider having the Extension implementation for extensions with deprecated subsystems register themselves as such

    XMLWordPrintable

    Details

      Description

      ExtensionContext.registerSubsystem has an overloaded variant that takes a boolean 'deprecated' parameter. We never use it.

      For deprecated subsystems we perhaps should.

      I think most of our deprecated subsystems are using the SimpleResourceDefinition.setDeprecated API to trigger deprecation logging if the subsystem is actually added. So this extension call really is just for the case where the extension is included in the config but is not used for adding a subsystem. That's kind of a corner case so it's a valid question whether we want to add this setting and end up writing two messages to the log.

      So this issue is to track at least considering it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yersan Yeray Borges Santana
              Reporter:
              brian.stansberry Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: