You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2002/08/10 19:19:44 UTC
cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans StandardContextMBean.java mbeans-descriptors.xml
costin 2002/08/10 10:19:44
Modified: catalina/src/share/org/apache/catalina/mbeans
StandardContextMBean.java mbeans-descriptors.xml
Log:
Add a reload operation.
Revision Changes Path
1.2 +13 -4 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans/StandardContextMBean.java
Index: StandardContextMBean.java
===================================================================
RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans/StandardContextMBean.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- StandardContextMBean.java 18 Jul 2002 16:48:01 -0000 1.1
+++ StandardContextMBean.java 10 Aug 2002 17:19:44 -0000 1.2
@@ -137,6 +137,15 @@
}
+ /**
+ * Return the naming resources associated with this web application.
+ */
+ public void reload() {
+
+ ((StandardContext)this.resource).reload();
+
+ }
+
/**
* Return the MBean Names of the set of defined environment entries for
1.4 +7 -1 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans/mbeans-descriptors.xml
Index: mbeans-descriptors.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/mbeans/mbeans-descriptors.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mbeans-descriptors.xml 10 Aug 2002 02:40:36 -0000 1.3
+++ mbeans-descriptors.xml 10 Aug 2002 17:19:44 -0000 1.4
@@ -1989,6 +1989,12 @@
type="java.lang.String"/>
</operation>
+ <operation name="reload"
+ description="Reload the webapplication"
+ impact="ACTION"
+ returnType="void">
+ </operation>
+
</mbean>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>