|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.servlet.ServletService
public final class ServletService
ServletService
Method Summary | |
---|---|
static ServletService |
getInstance()
Return the unique instance |
List<LuteceServlet> |
getServlets()
Gives the servlets list |
static void |
init(javax.servlet.ServletContext context)
Initializes servlets |
void |
registerServlet(ServletEntry entry,
Plugin plugin)
Register a servlet |
static void |
setServletContext(javax.servlet.ServletContext servletContext)
Defines the servlet context used by the ServletConfig given to the servlets |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ServletService getInstance()
public void registerServlet(ServletEntry entry, Plugin plugin)
entry
- The servlet entry defined in the plugin's XML fileplugin
- The pluginpublic static void setServletContext(javax.servlet.ServletContext servletContext)
servletContext
- The contextpublic static void init(javax.servlet.ServletContext context) throws LuteceInitException
context
- The context
LuteceInitException
- If an error occurspublic List<LuteceServlet> getServlets()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |