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

CLI: ability to load command handlers from the available in the model extensions

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0.0.Beta1
    • Component/s: CLI
    • Labels:
      None

      Description

      At the moment, the CLI supports Java ServiceLoader mechanism to load command handlers from outside the CLI module during the initialization. Although, for that to work, an optional dependency on the module which is providing its commands has to be added to the CLI module.xml.

      This enhancement is created to remove the requirement to modify the CLI module.xml to load external commands. Instead, the CLI could consult the list of available extensions and determine the list of modules to look for command handler in.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  aloubyansky Oleksiy Lubyanskyy
                  Reporter:
                  aloubyansky Oleksiy Lubyanskyy
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: