0 Replies Latest reply on May 2, 2007 4:44 PM by statelessbean

    Messages & Locale

    statelessbean

      Hi,
      Is any posible to get messages inside method?

      I got messages like:

      @In
      protected Map<String, String> messages;
      


      and it works, but i got method invoked each minute by scheduler in application context and when i try to use messages i get null.

      I thougth maybe i can get my messages inside method like:
      Contexts.getApplicationContext... inside method or:

      @In(scope=ScopeType.APPLICATION, value="messages")
      protected Map<String, String> messages;

      1. is this possible, any ideas?