Class ServletService
java.lang.Object
fr.paris.lutece.portal.service.servlet.ServletService
ServletService
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServletServiceReturn the unique instanceGives the servlets liststatic voidinit(javax.servlet.ServletContext context) Initializes servletsvoidregisterServlet(ServletEntry entry, Plugin plugin) Register a servletstatic voidsetServletContext(javax.servlet.ServletContext servletContext) Defines the servlet context used by the ServletConfig given to the servlets
-
Method Details
-
getInstance
Return the unique instance- Returns:
- The instance
-
registerServlet
Register a servlet- Parameters:
entry- The servlet entry defined in the plugin's XML fileplugin- The plugin
-
setServletContext
public static void setServletContext(javax.servlet.ServletContext servletContext) Defines the servlet context used by the ServletConfig given to the servlets- Parameters:
servletContext- The context
-
init
Initializes servlets- Parameters:
context- The context- Throws:
LuteceInitException- If an error occurs
-
getServlets
Gives the servlets list- Returns:
- The list of servlets
-