4 Replies Latest reply on Jul 8, 2010 10:12 AM by Dan Allen

    Inject ServletContext into managed bean

    Ruslan Gainutdinov Newbie
      Is it possible to inject ServletContext into managed bean?

      I`ve created @Singleton ServletContextListener
      implementation which have producer method

      @Producer @Depended
      public ServletContext getServletContext()

      I getting error: "Injection point has unstatisfied dependencies".