org.red5.server.war
Class WarLoaderServlet
java.lang.Object
org.springframework.web.context.ContextLoader
org.springframework.web.context.ContextLoaderListener
org.red5.server.war.WarLoaderServlet
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletContextListener
public class WarLoaderServlet
- extends ContextLoaderListener
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 ([email protected]), Paul Gregoire ([email protected])
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static Logger logger
WarLoaderServlet
public WarLoaderServlet()
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
- Overrides:
contextInitialized
in class ContextLoaderListener
registerSubContext
public void registerSubContext(String webAppKey)
getContextLoader
@Deprecated
public ContextLoader getContextLoader()
- Deprecated.
- Overrides:
getContextLoader
in class ContextLoaderListener
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
- Overrides:
contextDestroyed
in class ContextLoaderListener
Copyright © 2006-2012 The Red5 Project