KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mx4j > tools > stats > ObserverStatisticsRecorderMBean


1 /*
2  * Copyright (C) The MX4J Contributors.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the MX4J License version 1.0.
6  * See the terms of the MX4J License in the documentation provided with this software.
7  */

8
9 package mx4j.tools.stats;
10
11 import javax.management.ObjectName JavaDoc;
12
13 /**
14  * Management interface for ObserverStatisticsRecorder MBeans.
15  *
16  * @version $Revision: 1.3 $
17  */

18 public interface ObserverStatisticsRecorderMBean extends StatisticsRecorderMBean
19 {
20    /**
21     * Sets the ObjectName to be observed
22     */

23    public void setObservedObject(ObjectName JavaDoc object);
24
25    /**
26     * Returns the observed ObjectName
27     */

28    public ObjectName JavaDoc getObservedObject();
29
30    /**
31     * Returns the observed Attribute
32     */

33    public String JavaDoc getObservedAttribute();
34
35    /**
36     * Sets the Attribute to be observed
37     */

38    public void setObservedAttribute(String JavaDoc attribute);
39 }
40
Popular Tags