public interface DynamicServlet
extends javax.servlet.Servlet
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getServletName()
Gets the name of the servlet.
|
void |
servletDeployed(javax.servlet.ServletContext context,
java.lang.String urlPattern)
Notifies the servlet that it has been deployed with the designated context
and the designated patterns.
|
void |
servletUndeployed(javax.servlet.ServletContext context)
Notifies the servlet that it has been undeployed.
|
java.lang.String getServletName()
DynamicServlet, the servlet name has to be provided
explicitly.void servletDeployed(javax.servlet.ServletContext context,
java.lang.String urlPattern)
context - The servlet context of this servlet.urlPattern - The URL pattern (mapping) this servlet has been
deployed with.void servletUndeployed(javax.servlet.ServletContext context)
context - The servlet context of this servlet.