-
Sub-task
-
Resolution: Done
-
Major
-
None
-
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