public final class WSServletContextListener extends Object implements javax.servlet.ServletContextAttributeListener, javax.servlet.ServletContextListener
sun-jaxws.xml
and sets up
HttpAdapter
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.
Modifier and Type | Field and Description |
---|---|
(package private) static String |
JAXWS_RI_RUNTIME |
Constructor and Description |
---|
WSServletContextListener() |
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 Container |
createContainer(javax.servlet.ServletContext context)
Creates
Container implementation that hosts the JAX-WS endpoint. |
protected WSServletDelegate |
createDelegate(List<ServletAdapter> adapters,
javax.servlet.ServletContext context)
Creates
WSServletDelegate that does the real work. |
(package private) void |
parseAdaptersAndCreateDelegate(javax.servlet.ServletContext context) |
static final String JAXWS_RI_RUNTIME
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
void parseAdaptersAndCreateDelegate(javax.servlet.ServletContext context)
public void contextInitialized(javax.servlet.ServletContextEvent event)
contextInitialized
in interface javax.servlet.ServletContextListener
@NotNull protected Container createContainer(javax.servlet.ServletContext context)
Container
implementation that hosts the JAX-WS endpoint.@NotNull protected WSServletDelegate createDelegate(List<ServletAdapter> adapters, javax.servlet.ServletContext context)
WSServletDelegate
that does the real work.Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.