Class WSSPIContextListener

java.lang.Object
com.sun.xml.ws.transport.httpspi.servlet.WSSPIContextListener
All Implemented Interfaces:
jakarta.servlet.ServletContextAttributeListener, jakarta.servlet.ServletContextListener, EventListener

public final class WSSPIContextListener extends Object implements jakarta.servlet.ServletContextAttributeListener, jakarta.servlet.ServletContextListener
Parses sun-jaxws.xml and sets up EndpointAdapters for all deployed endpoints.

This code is the entry point at the server side in the servlet deployment. The user application writes this in their web.xml so that we can start when the container starts the webapp.

Author:
Jitendra Kotamraju
  • Constructor Details

    • WSSPIContextListener

      public WSSPIContextListener()
  • Method Details

    • attributeAdded

      public void attributeAdded(jakarta.servlet.ServletContextAttributeEvent event)
      Specified by:
      attributeAdded in interface jakarta.servlet.ServletContextAttributeListener
    • attributeRemoved

      public void attributeRemoved(jakarta.servlet.ServletContextAttributeEvent event)
      Specified by:
      attributeRemoved in interface jakarta.servlet.ServletContextAttributeListener
    • attributeReplaced

      public void attributeReplaced(jakarta.servlet.ServletContextAttributeEvent event)
      Specified by:
      attributeReplaced in interface jakarta.servlet.ServletContextAttributeListener
    • contextDestroyed

      public void contextDestroyed(jakarta.servlet.ServletContextEvent event)
      Specified by:
      contextDestroyed in interface jakarta.servlet.ServletContextListener
    • contextInitialized

      public void contextInitialized(jakarta.servlet.ServletContextEvent event)
      Specified by:
      contextInitialized in interface jakarta.servlet.ServletContextListener
    • createDelegate

      protected WSServletDelegate createDelegate(List<EndpointAdapter> adapters, jakarta.servlet.ServletContext context)
      Creates WSServletDelegate that does the real work.