org.red5.server.war
Class SubContextLoaderServlet

java.lang.Object
  extended by org.springframework.web.context.ContextLoaderListener
      extended by org.red5.server.war.RootContextLoaderServlet
          extended by org.red5.server.war.SubContextLoaderServlet
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class SubContextLoaderServlet
extends RootContextLoaderServlet

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)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.red5.server.war.RootContextLoaderServlet
RootContextLoaderServlet.CheckScopeListTask
 
Field Summary
static org.slf4j.Logger logger
           
 
Fields inherited from class org.red5.server.war.RootContextLoaderServlet
rmiPort
 
Constructor Summary
SubContextLoaderServlet()
           
 
Method Summary
 void contextInitialized(javax.servlet.ServletContextEvent sce)
          Main entry point for the Red5 Server as a war.
 
Methods inherited from class org.red5.server.war.RootContextLoaderServlet
contextDestroyed, initRegistry, registerSubContext
 
Methods inherited from class org.springframework.web.context.ContextLoaderListener
createContextLoader, getContextLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static org.slf4j.Logger logger
Constructor Detail

SubContextLoaderServlet

public SubContextLoaderServlet()
Method Detail

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 RootContextLoaderServlet


Copyright © 2006-2007 the Red5 project.