org.red5.server.war
Class MainServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.red5.server.war.MainServlet
- All Implemented Interfaces:
- Serializable, EventListener, javax.servlet.Servlet, javax.servlet.ServletConfig, javax.servlet.ServletContextListener
public class MainServlet
- extends javax.servlet.http.HttpServlet
- implements javax.servlet.ServletContextListener
Entry point from which the server config file is loaded while running within
a J2EE application container.
This listener should be registered after Log4jConfigListener in web.xml, if
the latter is used.
- Author:
- The Red5 Project (red5@osflash.org), Paul Gregoire (mondain@gmail.com)
- See Also:
- Serialized Form
|
Method Summary |
void |
contextDestroyed(javax.servlet.ServletContextEvent sce)
Clearing the in-memory configuration parameters, we will receive
notification that the servlet context is about to be shut down |
void |
contextInitialized(javax.servlet.ServletContextEvent sce)
Main entry point for the Red5 Server as a war |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static org.slf4j.Logger logger
red5Config
protected static String red5Config
MainServlet
public MainServlet()
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent sce)
- Main entry point for the Red5 Server as a war
- Specified by:
contextInitialized in interface javax.servlet.ServletContextListener
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
- Clearing the in-memory configuration parameters, we will receive
notification that the servlet context is about to be shut down
- Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener
Copyright © 2006-2007 the Red5 project.