[jboss-jira] [JBoss JIRA] (WFCORE-582) CLI: ability to load command handlers from the available in the model extensions

Alexey Loubyansky (JIRA) issues at jboss.org
Thu Mar 5 12:55:49 EST 2015


Alexey Loubyansky created WFCORE-582:
----------------------------------------

             Summary: CLI: ability to load command handlers from the available in the model extensions
                 Key: WFCORE-582
                 URL: https://issues.jboss.org/browse/WFCORE-582
             Project: WildFly Core
          Issue Type: Enhancement
          Components: CLI
            Reporter: Alexey Loubyansky
            Assignee: Alexey Loubyansky


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.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list