[jboss-user] [JBoss Seam] - Messages & Locale

Stateless Bean do-not-reply at jboss.com
Wed May 2 16:44:43 EDT 2007


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?




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042626#4042626

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042626



More information about the jboss-user mailing list