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

    Messages & Locale

    Stateless Bean Novice

      Is any posible to get messages inside method?

      I got messages like:

      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?