You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by rj...@apache.org on 2010/11/02 11:57:26 UTC

svn commit: r1030000 - in /tomcat/trunk/java/org/apache/catalina: core/mbeans-descriptors.xml valves/mbeans-descriptors.xml

Author: rjung
Date: Tue Nov  2 10:57:26 2010
New Revision: 1030000

URL: http://svn.apache.org/viewvc?rev=1030000&view=rev
Log:
Fix some MBean descriptors:
- "asyncSupported" needs is="true" for Valves
- "containerName" is gone in valves since r940802
- "enabled" uses "get" instead of "is"

Modified:
    tomcat/trunk/java/org/apache/catalina/core/mbeans-descriptors.xml
    tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml

Modified: tomcat/trunk/java/org/apache/catalina/core/mbeans-descriptors.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/mbeans-descriptors.xml?rev=1030000&r1=1029999&r2=1030000&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/mbeans-descriptors.xml (original)
+++ tomcat/trunk/java/org/apache/catalina/core/mbeans-descriptors.xml Tue Nov  2 10:57:26 2010
@@ -1102,6 +1102,7 @@
     
     <attribute name="asyncSupported"
                description="Does this valve support async reporting?"
+               is="true"
                type="boolean"/>
     
     <attribute name="className"
@@ -1326,6 +1327,7 @@
          
     <attribute name="asyncSupported"
                description="Does this valve support async reporting?"
+               is="true"
                type="boolean"/>
     
     <attribute name="className"

Modified: tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml?rev=1030000&r1=1029999&r2=1030000&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml (original)
+++ tomcat/trunk/java/org/apache/catalina/valves/mbeans-descriptors.xml Tue Nov  2 10:57:26 2010
@@ -25,6 +25,7 @@
          
     <attribute name="asyncSupported"
                description="Does this valve support async reporting."
+               is="true"
                type="boolean"/>
 
     <attribute name="buffered"
@@ -46,17 +47,12 @@
                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"
@@ -113,6 +109,7 @@
 
     <attribute name="asyncSupported"
                description="Does this valve support async reporting."
+               is="true"
                type="boolean"/>
 
     <attribute name="className"
@@ -120,10 +117,6 @@
                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"
@@ -143,6 +136,7 @@
 
     <attribute name="asyncSupported"
                description="Does this valve support async reporting."
+               is="true"
                type="boolean"/>
 
     <attribute name="buffered"
@@ -164,10 +158,6 @@
                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"/>
@@ -227,6 +217,7 @@
          
     <attribute name="asyncSupported"
                description="Does this valve support async reporting."
+               is="true"
                type="boolean"/>
                
     <attribute name="block"
@@ -238,10 +229,6 @@
                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"/>
@@ -277,12 +264,9 @@
                
     <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"
@@ -315,12 +299,9 @@
                
     <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"
@@ -349,6 +330,7 @@
          
     <attribute name="asyncSupported"
                description="Does this valve support async reporting."
+               is="true"
                type="boolean"/>
 
     <attribute name="httpServerPort"



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org