[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-8713) Support @MessageBundle

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Mon Apr 11 19:17:33 EDT 2011


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

Viacheslav Kabanovich resolved JBIDE-8713.
------------------------------------------

    Fix Version/s: 3.3.0.M1
                       (was: 3.3.x)
       Resolution: Done


> Support @MessageBundle
> ----------------------
>
>                 Key: JBIDE-8713
>                 URL: https://issues.jboss.org/browse/JBIDE-8713
>             Project: Tools (JBoss Tools)
>          Issue Type: Sub-task
>          Components: cdi (jsr-299)
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>              Labels: new_and_noteworthy
>             Fix For: 3.3.0.M1
>
>
> User can define an interface annotated @MessageBundle
> {code}
> @MessageBundle
> interface TrainMessages {
>    @Message("No trains spotted to %s") 
>    String noTrainsSpotted(String cause);
> }
> {code}
> and then just inject the bean
> {code}
> @Inject @MessageBundle TrainMessages messages;
> {code}
> Seam Solder will create the bean programmaticlly. 
> See http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html/logging.html

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


More information about the jbosstools-issues mailing list