[forge-dev] [JBoss JIRA] Closed: (SEAMFORGE-263) Add the possibility to register TriggeredActions on the ConsoleReader

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Thu Aug 4 14:05:38 EDT 2011


     [ https://issues.jboss.org/browse/SEAMFORGE-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lincoln Baxter III closed SEAMFORGE-263.
----------------------------------------

         Assignee: Koen Aers
    Fix Version/s: 1.0.0.Beta1
       Resolution: Done


> Add the possibility to register TriggeredActions on the ConsoleReader
> ---------------------------------------------------------------------
>
>                 Key: SEAMFORGE-263
>                 URL: https://issues.jboss.org/browse/SEAMFORGE-263
>             Project: Seam Forge
>          Issue Type: Feature Request
>            Reporter: Koen Aers
>            Assignee: Koen Aers
>             Fix For: 1.0.0.Beta1
>
>
> This issue is related to SEAMFORGE-253. Using the CommandInterceptor does not give me the wanted result as it relies on the ConsoleReader mechanism to read entire lines. I have had better results with using the ConsoleReader ability to register so-called TriggeredActions. 
> These TriggeredActions are simple ActionListeners that get performed when a particular character is read. The Forge API needs to include a new interface in the SPI package and the ShellImpl needs to register the beans implementing this interface during the setup of the ConsoleReader.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the forge-dev mailing list