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 ([email protected]), Joachim Bauch ([email protected]), Paul Gregoire
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTomcatApplicationContext(org.apache.catalina.Context context) Wrap the passed Tomcat webapp context. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.catalina.Contextvoidstop()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:
stopin interfaceIApplicationContext
-
getContext
public org.apache.catalina.Context getContext()
-