11 Replies Latest reply on Mar 29, 2008 12:20 AM by Matt Drees

    how to inject applicationContext in bean?

    Bill Levitt Newbie

      Hi,


      How can I inject the applicationContext? I tried


           @In
           private Context applicationContext;
      



      but this doesn't work. Do I have to use Component.getInstance()?