Expose properties of VirtualWebappLoader
authorrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 22 Apr 2010 13:00:11 +0000 (13:00 +0000)
committerrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 22 Apr 2010 13:00:11 +0000 (13:00 +0000)
and WebappClassLoader via JMX.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@936819 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/loader/mbeans-descriptors.xml

index 19a80ef..606c964 100644 (file)
   </mbean>
 
 
+  <mbean         name="VirtualWebappLoader"
+          description="Extension of the webapp class loader with additional features"
+               domain="Catalina"
+                group="Loader"
+                 type="org.apache.catalina.loader.VirtualWebappLoader">
+
+    <attribute   name="className"
+          description="Fully qualified class name of the managed object"
+                 type="java.lang.String"
+            writeable="false"/>
+
+    <attribute   name="delegate"
+          description="The 'follow standard delegation model' flag that will be
+                       used to configure our ClassLoader"
+                 type="boolean"/>
+
+    <attribute   name="reloadable"
+          description="The reloadable flag for this Loader"
+                 type="boolean"/>
+
+    <attribute   name="repositories"
+          description="Extra repositories managed by this loader"
+                 type="[Ljava.lang.String;"/>
+
+    <attribute   name="repositoriesString"
+          description="Extra repositories managed by this loader"
+             writeable="false" 
+                 type="java.lang.String"/>
+
+    <attribute   name="loaderRepositories"
+          description="Repositories set in the real loader"
+                 type="[Ljava.lang.String;"
+            writeable="false" />
+
+    <attribute   name="loaderRepositoriesString"
+          description="Repositories set in the real loader"
+                 type="java.lang.String"
+             writeable="false" />
+
+    <operation   name="toString"
+          description="Info about the loader"
+               impact="INFO"
+           returnType="String">
+    </operation>
+  </mbean>
+
+
   <mbean         name="WebappClassLoader"
           description="Classloader implementation which is specialized for
                        handling web applications"
                domain="Catalina"
                 group="Loader"
-                 type="org.apache.catalina.loader.WebappClassLoader" />
+                 type="org.apache.catalina.loader.WebappClassLoader">
+
+    <attribute   name="className"
+          description="Fully qualified class name of the managed object"
+                 type="java.lang.String"
+            writeable="false"/>
+
+    <attribute   name="delegate"
+          description="The 'follow standard delegation model' flag that will be
+                       used to configure our ClassLoader"
+                 type="boolean"/>
+
+    <attribute   name="antiJARLocking"
+          description="The antiJARLocking flag for this Loader"
+                 type="boolean"/>
+
+    <attribute   name="uRLs"
+          description="The URLs of this loader"
+                 type="[Ljava.net.URL;"/>
+
+    <attribute   name="jarPath"
+          description="The jarPath of this loader"
+             writeable="false" 
+                 type="java.lang.String"/>
+
+  </mbean>
 
-  <mbean         name="VirtualWebappLoader"
-          description="Extension of the webapp class loader with additional features"
-               domain="Catalina"
-                group="Loader"
-                 type="org.apache.catalina.loader.VirtualWebappLoader" />
 </mbeans-descriptors>