Thanks for your quick response! Works fine. 

I'll post it here as well (for anyone in the same situation):


  |     public void init(FilterConfig config) throws ServletException {
  |         Lifecycle.mockApplication();
  |         try {
  |             ApplicationSettings settings = (ApplicationSettings) 
Component.getInstance("applicationSettings");
  |             foo = settings.getFoo();
  |         } finally {
  |             Lifecycle.unmockApplication();
  |         }
  |     }
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4106861
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to