Fix some MBean descriptors:
authorrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 2 Nov 2010 10:57:26 +0000 (10:57 +0000)
committerrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 2 Nov 2010 10:57:26 +0000 (10:57 +0000)
- "asyncSupported" needs is="true" for Valves
- "containerName" is gone in valves since r940802
- "enabled" uses "get" instead of "is"

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

java/org/apache/catalina/core/mbeans-descriptors.xml
java/org/apache/catalina/valves/mbeans-descriptors.xml

index a2bc8fe..240defe 100644 (file)
     
     <attribute name="asyncSupported"
                description="Does this valve support async reporting?"
+               is="true"
                type="boolean"/>
     
     <attribute name="className"
          
     <attribute name="asyncSupported"
                description="Does this valve support async reporting?"
+               is="true"
                type="boolean"/>
     
     <attribute name="className"
index bf8b3b5..6cce969 100644 (file)
@@ -25,6 +25,7 @@
          
     <attribute name="asyncSupported"
                description="Does this valve support async reporting."
+               is="true"
                type="boolean"/>
 
     <attribute name="buffered"
                description="The value to look for conditional logging."
                type="java.lang.String"/>
                
-    <attribute name="containerName"
-               description="Object name of the container"
-               type="javax.management.ObjectName"/>
-               
     <attribute name="directory"
                description="The directory in which log files are created"
                type="java.lang.String"/>
                
-     <attribute name="enabled"
+    <attribute name="enabled"
                description="Enable Access Logging"
-               is="true"
                type="boolean"/>
 
     <attribute name="fileDateFormat"
 
     <attribute name="asyncSupported"
                description="Does this valve support async reporting."
+               is="true"
                type="boolean"/>
 
     <attribute name="className"
                type="java.lang.String"
                writeable="false"/>
 
-    <attribute name="containerName"
-               description="Object name of the container"
-               type="javax.management.ObjectName"/>
-
     <attribute name="info"
                description="Information about this implementation"
                type="java.lang.String"
 
     <attribute name="asyncSupported"
                description="Does this valve support async reporting."
+               is="true"
                type="boolean"/>
 
     <attribute name="buffered"
                description="The value to look for conditional logging."
                type="java.lang.String"/>
                
-    <attribute name="containerName"
-               description="Object name of the container"
-               type="javax.management.ObjectName"/>
-               
     <attribute name="directory"
                description="The directory in which log files are created"
                type="java.lang.String"/>
          
     <attribute name="asyncSupported"
                description="Does this valve support async reporting."
+               is="true"
                type="boolean"/>
                
     <attribute name="block"
                type="java.lang.String"
                writeable="false"/>
 
-    <attribute name="containerName"
-               description="Object name of the container"
-               type="javax.management.ObjectName"/>
-
     <attribute name="concurrency"
                description="Desired concurrency level"
                type="int"/>
                
     <attribute name="asyncSupported"
                description="Does this valve support async reporting."
+               is="true"
                type="boolean"/>
 
-    <attribute name="containerName"
-               description="Object name of the container"
-               type="javax.management.ObjectName"/>
-
     <attribute   name="className"
                description="Fully qualified class name of the managed object"
                type="java.lang.String"
                
     <attribute name="asyncSupported"
                description="Does this valve support async reporting."
+               is="true"
                type="boolean"/>
 
-    <attribute name="containerName"
-               description="Object name of the container"
-               type="javax.management.ObjectName"/>
-
     <attribute   name="className"
                description="Fully qualified class name of the managed object"
                type="java.lang.String"
          
     <attribute name="asyncSupported"
                description="Does this valve support async reporting."
+               is="true"
                type="boolean"/>
 
     <attribute name="httpServerPort"