Author: seb
Date: Tue Dec  5 16:31:49 2006
New Revision: 1064

Added:
   
logback/trunk/logback-access/src/main/java/ch/qos/logback/access/filter/mbeans-descriptors.xml

Log:
mbean descriptor for tomcat

Added: 
logback/trunk/logback-access/src/main/java/ch/qos/logback/access/filter/mbeans-descriptors.xml
==============================================================================
--- (empty file)
+++ 
logback/trunk/logback-access/src/main/java/ch/qos/logback/access/filter/mbeans-descriptors.xml
      Tue Dec  5 16:31:49 2006
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+
+<mbeans-descriptors>
+       <mbean name="countingFilter"
+               className="ch.qos.logback.access.filter.StatisticalView"
+               description="Server statistics" domain="ch.qos.logback.access"
+               type="ch.qos.logback.access.filter.StatisticalViewImpl">
+
+               <attribute name="started" description="started state"
+                       type="boolean" writeable="false" />
+
+               <operation name="stop"
+                       description="Stops the filter" impact="ACTION">
+               </operation>
+               <operation name="start"
+                       description="Starts the filter" impact="ACTION">
+               </operation>
+               <operation name="isStarted"
+                       description="Returns the started state of the filter" 
impact="ACTION"
+                       return="boolean">
+               </operation>
+
+               <operation name="getDailyAverage"
+                       description="Returns the daily average" impact="ACTION"
+                       return="double">
+               </operation>
+               <operation name="getLastDaysCount"
+                       description="Returns the last day's count" 
impact="ACTION"
+                       return="long">
+               </operation>
+               <operation name="getMonthlyAverage"
+                       description="Returns the monthly average" 
impact="ACTION"
+                       return="double">
+               </operation>
+               <operation name="getLastMonthsCount"
+                       description="Returns the last month's count" 
impact="ACTION"
+                       return="long">
+               </operation>
+               <operation name="getTotal"
+                       description="Returns the total accesses" impact="ACTION"
+                       return="long">
+               </operation>
+               <operation name="getWeeklyAverage"
+                       description="Returns the weekly average" impact="ACTION"
+                       return="double">
+               </operation>
+               <operation name="getLastWeeksCount"
+                       description="Returns the last week's count" 
impact="ACTION"
+                       return="long">
+               </operation>
+               <operation name="getLastMinuteCount"
+                       description="Returns the minute's count" impact="ACTION"
+                       return="long">
+               </operation>
+               <operation name="getMinuteAverage"
+                       description="Returns the minute average" impact="ACTION"
+                       return="double">
+               </operation>
+               <operation name="getHourlyAverage"
+                       description="Returns the hourly average" impact="ACTION"
+                       return="double">
+               </operation>
+               <operation name="getLastHoursCount"
+                       description="Returns the last hour's count" 
impact="ACTION"
+                       return="long">
+               </operation>
+       </mbean>
+</mbeans-descriptors>
\ No newline at end of file
_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev

Reply via email to