public final class WSSPIContextListener extends Object implements javax.servlet.ServletContextAttributeListener, javax.servlet.ServletContextListener
sun-jaxws.xml
and sets up
EndpointAdapter
s 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.
Constructor and Description |
---|
WSSPIContextListener() |
Modifier and Type | Method and Description |
---|---|
void |
attributeAdded(javax.servlet.ServletContextAttributeEvent event) |
void |
attributeRemoved(javax.servlet.ServletContextAttributeEvent event) |
void |
attributeReplaced(javax.servlet.ServletContextAttributeEvent event) |
void |
contextDestroyed(javax.servlet.ServletContextEvent event) |
void |
contextInitialized(javax.servlet.ServletContextEvent event) |
protected WSServletDelegate |
createDelegate(List<EndpointAdapter> adapters,
javax.servlet.ServletContext context)
Creates
WSServletDelegate that does the real work. |
public void attributeAdded(javax.servlet.ServletContextAttributeEvent event)
attributeAdded
in interface javax.servlet.ServletContextAttributeListener
public void attributeRemoved(javax.servlet.ServletContextAttributeEvent event)
attributeRemoved
in interface javax.servlet.ServletContextAttributeListener
public void attributeReplaced(javax.servlet.ServletContextAttributeEvent event)
attributeReplaced
in interface javax.servlet.ServletContextAttributeListener
public void contextDestroyed(javax.servlet.ServletContextEvent event)
contextDestroyed
in interface javax.servlet.ServletContextListener
public void contextInitialized(javax.servlet.ServletContextEvent event)
contextInitialized
in interface javax.servlet.ServletContextListener
protected WSServletDelegate createDelegate(List<EndpointAdapter> adapters, javax.servlet.ServletContext context)
WSServletDelegate
that does the real work.Copyright © 2015 Oracle Corporation. All rights reserved.