wsit
  1. wsit
  2. WSIT-1515

Provide some means to make the ServletContext accessible in general, i.e. when NOT currently executing a Web Service request

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: jaxws-runtime
    • Labels:
      None

      Description

      Actually the ServletContext of a deployed WS is accessible in a WS by means of the inejected @Resource. Injection of the @Resource WebServiceContext works fine, but accessing the ServletContext from there only works in the WS methods but not in the startup / init phase.

      Seealso in discussion board: http://www.java.net/forum/topic/glassfish/metro-and-jaxb/access-servletcontext-jax-ws-web-service-0

        Activity

        Hide
        Marek Potociar added a comment -

        Reassigning to Jitu.

        Show
        Marek Potociar added a comment - Reassigning to Jitu.
        Hide
        ernestojpg added a comment - - edited

        It would be great to be able to access the ServletContext from, for instance, the @PostConstruct method.

        Link for the discussion: http://www.java.net/node/673651

        Show
        ernestojpg added a comment - - edited It would be great to be able to access the ServletContext from, for instance, the @PostConstruct method. Link for the discussion: http://www.java.net/node/673651

          People

          • Assignee:
            jitu
            Reporter:
            markus_franke
          • Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: