Package org.red5.server.tomcat
Class TomcatApplicationContext
java.lang.Object
org.red5.server.tomcat.TomcatApplicationContext
- All Implemented Interfaces:
IApplicationContext
Class that wraps a Tomcat webapp context.
- Author:
- The Red5 Project (red5@osflash.org), Joachim Bauch (jojo@struktur.de), Paul Gregoire
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
TomcatApplicationContext
(org.apache.catalina.Context context) Wrap the passed Tomcat webapp context. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.catalina.Context
void
stop()
Stop the application and servlet contexts.
-
Field Details
-
log
protected static org.slf4j.Logger log -
context
private org.apache.catalina.Context contextStore a reference to the Tomcat webapp context.
-
-
Constructor Details
-
TomcatApplicationContext
protected TomcatApplicationContext(org.apache.catalina.Context context) Wrap the passed Tomcat webapp context.- Parameters:
context
-
-
-
Method Details
-
stop
public void stop()Stop the application and servlet contexts.- Specified by:
stop
in interfaceIApplicationContext
-
getContext
public org.apache.catalina.Context getContext()
-