KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tc > management > TerracottaMBean


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tc.management;
5
6
7 public interface TerracottaMBean {
8
9   /**
10    * @return the full name of the interface that this bean implements.
11    */

12   String JavaDoc getInterfaceClassName();
13
14   /**
15    * @return true if this bean emits notifications.
16    */

17   boolean isNotificationBroadcaster();
18   
19   /**
20    * A bean can be enabled to collect stats, or disabled to decrease overhead
21    */

22   void enable();
23   
24   /**
25    * A bean can be enabled to collect stats, or disabled to decrease overhead
26    */

27   void disable();
28   
29   boolean isEnabled();
30
31   /**
32    * This method will be called each time the bean is enabled/disabled
33    */

34   void reset();
35
36 }
37
Popular Tags