Class TomcatApplicationLoader

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

    public class TomcatApplicationLoader
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      protected static Logger log  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TomcatApplicationLoader​(org.apache.catalina.startup.Tomcat embedded, org.apache.catalina.Host host, org.springframework.context.ApplicationContext rootCtx)
      Wrap Tomcat engine and host.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.context.ApplicationContext getRootContext()
      void loadApplication​(java.lang.String contextPath, java.lang.String virtualHosts, java.lang.String directory)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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​(java.lang.String contextPath,
                                    java.lang.String virtualHosts,
                                    java.lang.String directory)
                             throws java.lang.Exception
        Specified by:
        loadApplication in interface org.red5.server.api.IApplicationLoader
        Throws:
        java.lang.Exception