Package org.red5.server.api
Interface IApplicationLoader
- All Known Implementing Classes:
TomcatApplicationLoader
public interface IApplicationLoader
Interface for servers that can load new applications.
- Author:
- The Red5 Project, Joachim Bauch (jojo@struktur.de)
-
Method Summary
Modifier and TypeMethodDescriptionReturn the rootApplicationContext
.void
loadApplication
(String contextPath, String virtualHosts, String directory) Load a new application for the given context path from a directory.
-
Method Details
-
loadApplication
Load a new application for the given context path from a directory.- Parameters:
contextPath
- context pathvirtualHosts
- virtual hostsdirectory
- directory- Throws:
Exception
- for fun
-
getRootContext
ApplicationContext getRootContext()Return the rootApplicationContext
.- Returns:
- application context
-