public class FCBaseServlet extends javax.servlet.http.HttpServlet
WebApp
servlet should
be loaded before this servlet and the appName parameter specified in
the WebApp servlet must be the same as specified to this servlet.
Each servlet instantiates and uses it's own SystemLogger
. This is
useful because per servlet/jsp log-levels can be set (via the AdminServlet
)
Each servlet also stores an instance of itself in a map containing all
servlets in the servletcontext (This map can be obtained via the context
attribute of name ContextInit#ALL_SERVLETS_KEY
). Within the map,
a particular servlet is stored with the key obtained via calling:
that_servlet.getClass().getName()
Constructor and Description |
---|
FCBaseServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
Log |
getLog()
Returns the logger for this servlet.
|
void |
init(javax.servlet.ServletConfig conf) |
String |
stats()
Returns usage statistics about this servlet.
|
String |
toString() |
public FCBaseServlet()
public void init(javax.servlet.ServletConfig conf) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public String stats()
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet