remm 01/10/26 19:53:01
Modified: catalina/src/share/org/apache/catalina Globals.java
Log:
- If a context is privileged, a reference to the MBeanServer will be added to
its servlet context.
Revision Changes Path
1.41 +13 -4
jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Globals.java
Index: Globals.java
===================================================================
RCS file:
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Globals.java,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- Globals.java 2001/09/27 00:54:11 1.40
+++ Globals.java 2001/10/27 02:53:01 1.41
@@ -1,7 +1,7 @@
/*
- * $Header:
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Globals.java,v
1.40 2001/09/27 00:54:11 remm Exp $
- * $Revision: 1.40 $
- * $Date: 2001/09/27 00:54:11 $
+ * $Header:
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/Globals.java,v
1.41 2001/10/27 02:53:01 remm Exp $
+ * $Revision: 1.41 $
+ * $Date: 2001/10/27 02:53:01 $
*
* ====================================================================
*
@@ -69,7 +69,7 @@
* Global constants that are applicable to multiple packages within Catalina.
*
* @author Craig R. McClanahan
- * @version $Revision: 1.40 $ $Date: 2001/09/27 00:54:11 $
+ * @version $Revision: 1.41 $ $Date: 2001/10/27 02:53:01 $
*/
public final class Globals {
@@ -182,6 +182,15 @@
*/
public static final String KEY_SIZE_ATTR =
"javax.servlet.request.key_size";
+
+
+ /**
+ * The request attribute under which the Invoker servlet will store
+ * the invoking servlet path, if it was used to execute a servlet
+ * indirectly instead of through a servlet mapping.
+ */
+ public static final String MBEAN_SERVER_ATTR =
+ "org.apache.catalina.MBeanServer";
/**