• Documentation (Ref Guide, User Guide, etc.)

      User can define an interface annotated @MessageBundle

      @MessageBundle
      interface TrainMessages {
         @Message("No trains spotted to %s") 
         String noTrainsSpotted(String cause);
      }
      

      and then just inject the bean

      @Inject @MessageBundle TrainMessages messages;
      

      Seam Solder will create the bean programmaticlly.

      See http://docs.jboss.org/seam/3/solder/latest/reference/en-US/html/logging.html

              scabanovich Viacheslav Kabanovich (Inactive)
              alexeykazakov Alexey Kazakov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: