|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.dispatch.ServletManager
public class ServletManager
Manages the servlets.
| Constructor Summary | |
|---|---|
ServletManager()
|
|
| Method Summary | |
|---|---|
void |
addSecurityElement(java.lang.Class<? extends Servlet> servletClass,
ServletSecurityElement securityElement)
|
void |
addServlet(ServletConfigImpl config)
|
void |
addServlet(ServletConfigImpl config,
boolean merge)
Adds a servlet to the servlet manager. |
Servlet |
createServlet(java.lang.String servletName)
Instantiates a servlet given its configuration. |
FilterChain |
createServletChain(java.lang.String servletName,
ServletConfigImpl config,
ServletInvocation invocation)
Creates the servlet chain for the servlet. |
void |
destroy()
|
ServletSecurityElement |
getSecurityElement(java.lang.Class<? extends Servlet> servletClass)
|
ServletConfigImpl |
getServlet(java.lang.String servletName)
Returns ServletConfigImpl to the servlet manager. |
java.util.HashMap<java.lang.String,ServletConfigImpl> |
getServlets()
|
void |
init()
Initialize servlets that need starting at server start. |
boolean |
isFacesServletConfigured()
|
void |
setLazyValidate(boolean isLazy)
Sets true if validation is lazy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServletManager()
| Method Detail |
|---|
public void setLazyValidate(boolean isLazy)
public boolean isFacesServletConfigured()
public void addServlet(ServletConfigImpl config)
throws ServletException
ServletException
public void addServlet(ServletConfigImpl config,
boolean merge)
throws ServletException
ServletException
public void addSecurityElement(java.lang.Class<? extends Servlet> servletClass,
ServletSecurityElement securityElement)
public ServletSecurityElement getSecurityElement(java.lang.Class<? extends Servlet> servletClass)
public ServletConfigImpl getServlet(java.lang.String servletName)
public java.util.HashMap<java.lang.String,ServletConfigImpl> getServlets()
@PostConstruct
public void init()
throws ServletException
ServletException
public FilterChain createServletChain(java.lang.String servletName,
ServletConfigImpl config,
ServletInvocation invocation)
throws ServletException
ServletException
public Servlet createServlet(java.lang.String servletName)
throws ServletException
servletName - the servlet
ServletExceptionpublic void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||