01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.management;
05:
06: public interface TerracottaMBean {
07:
08: /**
09: * @return the full name of the interface that this bean implements.
10: */
11: String getInterfaceClassName();
12:
13: /**
14: * @return true if this bean emits notifications.
15: */
16: boolean isNotificationBroadcaster();
17:
18: /**
19: * A bean can be enabled to collect stats, or disabled to decrease overhead
20: */
21: void enable();
22:
23: /**
24: * A bean can be enabled to collect stats, or disabled to decrease overhead
25: */
26: void disable();
27:
28: boolean isEnabled();
29:
30: /**
31: * This method will be called each time the bean is enabled/disabled
32: */
33: void reset();
34:
35: }
|