Class TomcatApplicationLoader

  • All Implemented Interfaces:
    org.red5.server.api.IApplicationLoader

    public class TomcatApplicationLoader
    extends Object
    implements org.red5.server.api.IApplicationLoader
    Class that can load new applications in Tomcat.
    Author:
    The Red5 Project (red5@osflash.org), Joachim Bauch (jojo@struktur.de)
    • Field Detail

      • log

        protected static Logger log
    • Constructor Detail

      • TomcatApplicationLoader

        protected TomcatApplicationLoader​(org.apache.catalina.startup.Tomcat embedded,
                                          org.apache.catalina.Host host,
                                          org.springframework.context.ApplicationContext rootCtx)
        Wrap Tomcat engine and host.
        Parameters:
        embedded -
        host -
    • Method Detail

      • getRootContext

        public org.springframework.context.ApplicationContext getRootContext()
        Specified by:
        getRootContext in interface org.red5.server.api.IApplicationLoader
      • loadApplication

        public void loadApplication​(String contextPath,
                                    String virtualHosts,
                                    String directory)
                             throws Exception
        Specified by:
        loadApplication in interface org.red5.server.api.IApplicationLoader
        Throws:
        Exception